#include <stdio.h>标签:约数,入门,puts,int,scanf,练习,整数,printf From: https://blog.51cto.com/u_15866017/5929403
int main(){
int a, b;
puts("请输入两个整数:");
printf("整数a:");
scanf("%d", &a);
printf("整数b:");
scanf("%d", &b);
if(a %b)
puts("b不是a的约数。");
else
puts("b是a的约数。");
return 0;}