#include<stdio.h>
#include<time.h>
#include<stdlib.h>
void main(){
int a,b,i,d;
for(i=1;i<300;i++){
d=rand()%4;
a=rand()%100;
b=rand()%100;
switch(d){
case 1:printf("%d+%d=\n",a,b);
case 2:printf("%d-%d=\n",a,b);
case 3:printf("%d*%d=\n",a,b);
case 4:printf("%d/%d=\n",a,b);
}
}
}

相关文章:

  • 2021-08-23
  • 2021-10-31
  • 2021-12-16
  • 2022-01-03
  • 2021-04-29
  • 2021-12-20
  • 2021-09-20
  • 2021-11-28
猜你喜欢
  • 2022-02-28
  • 2021-09-16
  • 2021-12-31
  • 2021-07-15
  • 2021-10-21
相关资源
相似解决方案