#include<stdio.h>
#include<math.h>
int main()
{
double num1, num2;
printf("输入两个正整数:\n");
scanf("%d%d",&num1,&num2);
printf("和为:%d\n ", num1+num2);
printf("差为:%d\n",num1-num2);
printf("积为%d\n",num1 *num2);
printf("整数商为:%d\n",num1 / num2);
printf("余数为:%d\n", "%f\n");
printf("average为:%d\n",(num1+num2)/2,fmod(num1,num2));
return 0;
}