/*编写一个程序从终端上输入两个整数,检查第一个数是否能被第二个数整除。*/
#include<stdio.h>
#include<stdlib.h>
int main()
{
int a, b;
printf("Please input two number:");
scanf("%d %d", &a, &b);
if (a % b == 0)
printf("can");
else
printf("can't");
system("pause");
return 0;
}
黄迪明3.1
最新推荐文章于 2021-05-18 00:10:14 发布