C :
#include "stdio.h" int main() { double xiaoMingHeight = (175 + 162) * 0.54; double xiaoHongHeight = (169 * 0.923 + 153) / 2; printf("Height of xiao ming:%d\n", (int)xiaoMingHeight); printf("Height of xiao hong:%d\n", (int)xiaoHongHeight); return 0; }
注册一个 NanXiao OpenAtom Club Online Judge 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 NanXiao OpenAtom Club Online Judge 通用账户