#include <stdio.h> main () { float c = 3.0, d = 4.0; if (c > d) c = 5.0; else if (c == d) c = 6.0; else c = 7.0; printf("%.1f\n", c); }
运行结果为:
7.0
7
7.00
7、0
7·0
3.0
0
用户登录可进行刷题及查看答案
登录后提交答案