![心算游戏 图片[1]-心算游戏-云港网络](https://www.sunzishaokao.com/wp-content/uploads/2024/05/wpac-full-7908.jpg)
#include<bits/stdc++.h>
using namespace std;
int main()
{
int x,a,b,c;
bool y;
cin>>x;
for (int i=0;i<x;i++)
{
srand(time(0));
a=rand()%90+10;
b=rand()%90+10;
cout << a << "+" << b << "=";
cin >> c;
if (c==a+b) y=1;
else y=0;
switch(y)
{
case 1:cout << "正确!" <<endl;break;
case 0:cout << "错误!" <<endl;break;
}
}
return 0;
}
广告:
© 版权声明
THE END




暂无评论内容