祝各位中考加油!
写了一个程序,祝大家中考取得好成绩!// 加油 奥利给!!!!!
#include<iostream>
using namespace std;
int main()
{
cout << "中考加油!" << endl;
cout << "Press [1] to continue:";
int a;
cin >> a;
if (a==1)
{
printf("相信你自己,你一定能考出一个好成绩!\n");
printf("努力了,就无怨无悔。有道是:天道筹勤!相信自己,你是最棒的!!\n");
cout << "Press [2] to continue:";
int b;
cin >> b;
if (b==2)
{
cout << " I[-----功--成-----]I" << endl;
cout << "Press [666] to continue:";
int c;
cin >> c;
if (c==666)
{
cout << "---- ----\n";
cout << "|信| |实|\n";
cout << "|心| |力|\n";
cout << "|来| |来|\n";
cout << "|自| |自|\n";
cout << "|于| |于|\n";
cout << "|实| |勤|\n";
cout << "|力| |奋|\n";
cout << "---- ----\n";
cout <<" 祝中考加油!!!";
}
}
else
{
cout << "输入正确的数字呗!~~~(欠揍的小语气)~~~~" << endl;
}
}
else
{
cout << "输入正确的数字呗!~~~(欠揍的小语气)~~~~" << endl;
}
return 0;
}