C语言程序设计基础教程:求余运算练习
2015-4-18编辑:ljnbset
求余运算练习
main()
{
int a,b,f;
printf("Please input two integers(a and b ):\n");
scanf("%d,%d",&a,&b);
f=a%b;
printf("f=%d",f);
getch();
}
求余运算练习
main()
{
int a,b,f;
printf("Please input two integers(a and b ):\n");
scanf("%d,%d",&a,&b);
f=a%b;
printf("f=%d",f);
getch();
}