include<stdio.h>
int main(int argc,char*argv[])
{
int num1=0;
int num2=0;
int sum=0;
int cha=0;
int ji=0;
int shang=0;
scanf("%d %d",&num1& ,&num2);
sum=num1+num2;
cha=num1-num2;
ji=num1*num2;
shang=(float)num1/num2;
printf("sum=%d\n,cha=%d\n,ji=%d\n,shang=%d\n",sum,cha,ji,shang);
return 0;
}
除int外还有float,double