标签:
#include "stdio.h" #include "stdlib.h" int num; int main(void) { long long i, j; int k; while(scanf("%d", &num) != EOF) { if(!(num >=1 && num<=20)) { break; } for(k=1; k<=num; k++) { scanf("%ld %ld", &i, &j); printf("case %d:\n", k); printf("%d + %d = %d\n\n", i, j, i+j); } } system("pause"); return 0; }
标签:
原文地址:http://www.cnblogs.com/cnfanhua/p/4220876.html