皮皮虾


私信TA

用户名:meipy

访问量:1830

签 名:

奋斗吧,少年!!

等  级
排  名 18665
经  验 691
参赛次数 2
文章发表 9
年  龄 11
在职情况 学生
学  校 呜呜呜
专  业

  自我简介:

#include<bits/stdc++.h>
#include<unistd.h>
using namespace std;
int main()
{
	int a;
	cout<<"你有10分"<<endl;
	int b;
	cout<<"13*10=";
	cin>>b;
	if(b==130)
	{
		cout<<"恭喜你,答对了!"<<endl;
}
	if(b!=130)
	{
		cout<<"对不起,你答错了!"<<endl;
		cout<<"你还剩9分"<<endl;
	}
	int c;
	cout<<"中国有多少人口?"<<endl;
	cout<<"(亿用0表示)"<<endl;
	cin>>c;
	if(c==140)
	{
		cout<<"恭喜你,答对了!"<<endl;
	}
	if(c!=140)
	{
        cout<<"对不起,你答错了!"<<endl;
		cout<<"你还剩8分"<<endl;
	}
	int d;
	cout<<"132*38=";
	cin>>d;
	if(d==5016)
	{
		cout<<"恭喜你,答对了!"<<endl;
	}
	if(d!=5016)
	{
		cout<<"对不起,你答错了!"<<endl;
		cout<<"你还剩7分"<<endl;
	}
	int e;
	cout<<"飞机上有100块砖,掉下来一块砖,还剩多少块砖?";
	cin>>e;
	if(e==99)
	{
			cout<<"恭喜你,答对了!"<<endl;
	}
	if(e!=99)
	{
			cout<<"对不起,你答错了!"<<endl;
		cout<<"你还剩6分"<<endl;
	}
	int f;
	cout<<"100000000-1=";
	cin>>f;
	if(f=99999999)
	{
		cout<<"恭喜你,答对了!"<<endl;
	}
	if(f!=99999999)
	{
		cout<<"对不起,你答错了!"<<endl;
		cout<<"你还剩5分"<<endl;
	}
    return 0;
}


 

0.0分

1 人评分

  评论区