04 2023 档案

摘要:#include<iostream>using namespace std;int main(){ int score=0; cout<<"请您输入一个分数:"<<endl; cin>>score; if(score>700) { cout<<"恭喜您考上石家庄铁道大学"<<endl; } else 阅读全文
posted @ 2023-04-24 23:05 大虚胖子 阅读(12) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>using namespace std;int main(){ int a=0; cout<<a<<endl; cout<<"请输入:"; cin>>a; cout<<a; system("pause"); return 0;} 阅读全文
posted @ 2023-04-23 23:20 大虚胖子 阅读(17) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>using namespace std;int main(){ int a=10; cout<<a<<endl; cout<<!a<<endl; cout<<!!a<<endl; system("pause"); return 0;} 阅读全文
posted @ 2023-04-23 22:11 大虚胖子 阅读(10) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>using namespace std;#define Day 7int main(){ cout<<"一周有"<<Day<<"天"<<endl; const int month=12; cout<<"一年有"<<month<<"月"<<endl; system( 阅读全文
posted @ 2023-04-22 21:43 大虚胖子 阅读(14) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>using namespace std;int main(){ int a=10,b=2; cout<<"a+b="<<a+b<<endl; system("pause"); return 0;} 阅读全文
posted @ 2023-04-20 23:44 大虚胖子 阅读(26) 评论(0) 推荐(0) 编辑
摘要:#include using namespace std; int main() { cout<<"hello world"<<endl } 阅读全文
posted @ 2023-04-14 21:32 大虚胖子 阅读(23) 评论(1) 推荐(1) 编辑

点击右上角即可分享
微信分享提示