2021年4月17日
摘要: or.cpp #include<iostream>using namespace std;int main(){ cout<<"This program may reformat your hard disk\n" "and destroy all your data.\n" "Do you wis 阅读全文
posted @ 2021-04-17 22:17 HuJiao粉 阅读(84) 评论(0) 推荐(0)
摘要: if.cpp #include<iostream>using namespace std;int main(){ char ch; int spaces=0; int total=0; cin.get(ch); while (ch!='.') { if (ch==' ') ++spaces; ++t 阅读全文
posted @ 2021-04-17 22:03 HuJiao粉 阅读(57) 评论(0) 推荐(0)