#include<stdio.h>
void main()
{
int a=7321,b=546,c;
float x=4.3,y=5.2;
c=7-9/b*5;
printf("c=%d\n",c);
c=a+10;
printf("7321+10=%d\n",c);
c=a/b*b;
printf("a/b*b=%d\n",c);
printf("a/b*b+a%%b=%d\n",c+a%b);
printf("x/y*y=%f\n",x/y*y);
printf("-10/4=%d,-10%%4=%d\n",-10/4,-10%4);
printf("10/-4=%d,10%%-4=%d\n",10/-4,10%-4);
}
void main()
{
int a=7321,b=546,c;
float x=4.3,y=5.2;
c=7-9/b*5;
printf("c=%d\n",c);
c=a+10;
printf("7321+10=%d\n",c);
c=a/b*b;
printf("a/b*b=%d\n",c);
printf("a/b*b+a%%b=%d\n",c+a%b);
printf("x/y*y=%f\n",x/y*y);
printf("-10/4=%d,-10%%4=%d\n",-10/4,-10%4);
printf("10/-4=%d,10%%-4=%d\n",10/-4,10%-4);
}