1011 A+B 和 C (15分)
#include <stdio.h>
int main()
{
long int s[10][3];
int n = 0;
scanf("%d", &n);
for (int i = 0; i < n; i++) {
for (int j = 0; j < 3; j++) {
scanf("%ld",&s[i][j] );
}
}
for (int x = 0; x < n; x ++ ) {
if (s[x][0] + s[x][1] > s[x][2]) {
printf("Case #%d: true\n", x + 1);
}
else {
printf("Case #%d: false\n", x + 1);
}
}
return 0;
}