#include
#include <stdlib.h>
#include <time.h>
using namespace std;
int main()
{
int a,b,c,d,k=1,i=1;
srand((unsigned)time(NULL));
for(i=1;;i++)
{
a=rand()%100;
b=rand()%100;
if(b!=0&a%b==0)
{
k++;
cout<<a<<"/"<<b<<"=";
c=a/b;
cin>>d;
if(cd)
{cout<<“正确”;}
else cout<<“错误”;
if(k>10)
break;
}
}
return 0;
}