1 Star 1 Fork 0

lingyun67 / PTA水题140题

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
7-8 是不是太胖了.c 192 Bytes
一键复制 编辑 原始数据 按行查看 历史
lingyun67 提交于 2021-11-12 12:25 . add 7-8 是不是太胖了.c.
#include <stdio.h>
main(void)
{
int shengao/*身高*/;
scanf("%d", &shengao);
float tizhong/*体重-斤*/ = (shengao - 100) * 0.9 * 2;
printf("%.1f", tizhong);
return 0;
}
C
1
https://gitee.com/lingyun67/pta-water-question-140.git
git@gitee.com:lingyun67/pta-water-question-140.git
lingyun67
pta-water-question-140
PTA水题140题
master

搜索帮助