#include <stdio.h>
#include <stdlib.h>
int main()
{
int i,a,b,c;
for (a=1; a<50; a++)
for (b=1; b<50; b++)
for (c=1; c<50; c++)
printf("%2d–%2d–%2d = %2d\n",a,b,c,a-b-c);
for (a=1; a<50; a++)
for (b=1; b<50; b++)
for (c=1; c<50; c++)
printf("%2d–%2d+%2d = %2d\n",a,b,c,a-b+c);
for (a=1; a<50; a++)
for (b=1; b<50; b++)
for (c=1; c<50; c++)
printf("%2d–%2d×%2d = %2d\n",a,b,c,a-b*c);
for (a=1; a<50; a++)
for (b=1; b<50; b++)
for (c=1; c<50; c++)
printf("%2d–%2d÷%.0f = %2d\n",a,b,c,a-b/c);
for (a=1; a<50; a++)
for (b=1; b<50; b++)
for (c=1; c<50; c++)
printf("%2d+%2d-%2d = %2d\n",a,b,c,a+b-c);
for (a=1; a<50; a++)
for (b=1; b<50; b++)
for (c=1; c<50; c++)
printf("%2d+%2d+%2d = %2d\n",a,b,c,a+b+c);
for (a=1; a<50; a++)
for (b=1; b<50; b++)
for (c=1; c<50; c++)
printf("%2d+%2d×%2d = %2d\n",a,b,c,a+b*c);
for (a=1; a<50; a++)
for (b=1; b<50; b++)
for (c=1; c<50; c++)
printf("%2d+%2d÷%.0f = %2d\n",a,b,c,a+b/c);
for (a=1; a<50; a++)
for (b=1; b<50; b++)
for (c=1; c<50; c++)
printf("%2d×%2d-%2d = %2d\n",a,b,c,a*b-c);
for (a=1; a<50; a++)
for (b=1; b<50; b++)
for (c=1; c<50; c++)
printf("%2d×%2d+%2d = %2d\n",a,b,c,a*b+c);
for (a=1; a<50; a++)
for (b=1; b<50; b++)
for (c=1; c<50; c++)
printf("%2d×%2d×%2d = %2d\n",a,b,c,a*b*c);
for (a=1; a<50; a++)
for (b=1; b<50; b++)
for (c=1; c<50; c++)
printf("%2d×%2d÷%2d = %2d\n",a,b,c,a*b/c);
float l,m,n;
for (l=1; l<50; l++)
for (m=1; m<50; m++)
for (n=1; n<50; n++)
printf("%.0f÷%.0f-%2d = %f\n",l,m,n,l/m-n);
for (l=1; l<50; l++)
for (m=1; m<50; m++)
for (n=1; n<50; n++)
printf("%.0f÷%.0f+%2d = %f\n",l,m,n,l/m+n);
for (l=1; l<50; l++)
for (m=1; m<50; m++)
for (n=1; n<50; n++)
printf("%.0f÷%.0f×%2d = %f\n",l,m,n,l/m*n);
for (l=1; l<50; l++)
for (m=1; m<50; m++)
for (n=1; n<50; n++)
printf("%.0f÷%.0f÷%.0f = %f\n",l,m,n,l/m/n);
}