-
-
Save ryuchan00/7b00cfa3de7a727060de93a9ca97356b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int a, b, c; | |
a = 1; | |
b = 2; | |
c = 3; | |
char s[101]; | |
s = 'test'; | |
// 整数の入力 | |
// scanf("%d", &a); | |
// スペース区切り、整数の入力 | |
// scanf("%d %d", &b, &c); | |
// 文字列の入力 | |
// scanf("%s", s); | |
//出力 | |
printf("%d %s\n", a + b + c, s); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment