授業/C言語基礎/演算/練習問題/02B-2
をテンプレートにして作成
開始行:
*解答例1 [#k366fce1]
#geshi(c){{
#include <stdio.h>
int main(void){
double x = 3.5, y = 2.5;
double z = x - y;
printf("%f\n", z);
return 0;
}
}}
*解答例2 [#l795a04e]
#geshi(c){{
#include <stdio.h>
int main(void){
printf("%f\n", 3.5 - 2.5);
return 0;
}
}}
終了行:
*解答例1 [#k366fce1]
#geshi(c){{
#include <stdio.h>
int main(void){
double x = 3.5, y = 2.5;
double z = x - y;
printf("%f\n", z);
return 0;
}
}}
*解答例2 [#l795a04e]
#geshi(c){{
#include <stdio.h>
int main(void){
printf("%f\n", 3.5 - 2.5);
return 0;
}
}}
ページ名: