変数とデータ型
#include <stdio.h> int main(void) { // your code goes here int a,b,c; a=10; b=15; c=a+b; printf("%dたす%dは%dです。\n",a,b,c); return 0; } 出力結果 10たす15は25です。 メモ 変数aに10を代入 変数bに15を代入 変数cにaとbを足して代入 以下の記述でも同じ出</stdio.h>…
#include <stdio.h> int main(void) { // your code goes here int a,b,c; a=10; b=15; c=a+b; printf("%dたす%dは%dです。\n",a,b,c); return 0; } 出力結果 10たす15は25です。 メモ 変数aに10を代入 変数bに15を代入 変数cにaとbを足して代入 以下の記述でも同じ出</stdio.h>…