c语言答辩题目及答案,c语言if语句的练习题答案.doc
编写程序输入a和b,求a和b的余数和商。#includevoid main(){int a,b;scanf("%d%d",&a,&b);printf("商为%d 余数为%d",a/b,a%b);}输入一个整型数据,分别求出各位数字。如:469,则个位数是9,十位数是6,百位数是4。#includevoid main(){ int a,m=0;int t,t1,t2,t3,t4;sc...