摘要:
求多边形的面积 1 #include<iostream> 2 using namespace std; 3 class CPolygon{ 4 protected: 5 int width,height; 6 public: 7 void set_values(int a,int b) 8 { 9 阅读全文
摘要:
1 #include<iostream> 2 using namespace std; 3 int main() 4 { 5 char a,N,Y; 6 while(1){ 7 8 cout<<"现在正在下雨吗?"<<endl; 9 cout<<"请输入N或Y:"; 10 cin>>a; 11 if 阅读全文
摘要:
1 #include<iostream> 2 using namespace std; 3 int main() 4 { 5 int x; 6 cout<<"你考试考了多少分:"<<endl; 7 cin>>x; 8 if(x<=100&&x>=90) 9 cout<<"优"<<endl; 10 e 阅读全文