#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
int i,j,a,b;
srand((unsigned)time(NULL));
for (i=0;i<100;i++)
{
a= rand()%99+1;
b= rand()%99+1;
printf("%2d-%2d = %2d\n",a,b,a-b);
a= rand()%99+1;
b= rand()%99+1;
printf("%2d+%2d = %2d\n",a,b,a+b);
a= rand()%99+1;
b= rand()%99+1;
printf("%2d×%2d = %2d\n",a,b,a*b);
float m,n;
m = rand()%100;
n = rand()%100;
printf("%.0f÷%.0f=%f\n",m,n,m / n);
}
}