版权声明:转载请注明出处http://blog.csdn.net/weixin_38120348/article/details/79338398
代码:
#include <stdio.h>
int main(){
long long a,b,c;
int n,cnn;
scanf("%d",&n);
while(~scanf("%lld %lld %lld",&a,&b,&c)){
if(a+b>c){
printf("Case #%d: true\n",++cnn);
}
else{
printf("Case #%d: false\n",++cnn);
}
}
return 0;
}
知识点记录
四种基本数据类型及其取值范围
常见数据类型变量的scanf格式符
常见数据类型变量的printf格式符
借鉴了JimmieZou博主的几张图 链接在这里http://blog.csdn.net/daniel960601/article/details/54912972