// 与えられた整数A,Bと文字列Sについて、A+B Sを出力するプログラム #include int main(void){ int A,B; char S[10]; //10文字以下の文字列 scanf("%d",&A); scanf("%d",&B); scanf("%s",S); // [ ]は要らない printf("%d %s\n",A+B,S); return 0; }