标签:logs clu stdio.h std scanf else amp class 数字
# include<stdio.h> int main () {int BJT,UCT; int a=0,b=0; scanf("%d",&BJT); if(BJT>2359||BJT<0){ printf("请输入正确的数字"); } else if(BJT<800){ a=BJT/100-8+24; b=BJT%100+a*100; } else { a=BJT/100-8; b=BJT%100+a*100; } printf ("%d",b); }
标签:logs clu stdio.h std scanf else amp class 数字
原文地址:http://www.cnblogs.com/love625/p/7113160.html