Skip to content

Instantly share code, notes, and snippets.

@ryuchan00
Created April 1, 2020 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryuchan00/7b00cfa3de7a727060de93a9ca97356b to your computer and use it in GitHub Desktop.
Save ryuchan00/7b00cfa3de7a727060de93a9ca97356b to your computer and use it in GitHub Desktop.
#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