1 Star 0 Fork 0

向宇 / 初学之旅:2022大一秋

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
c language102 284 Bytes
一键复制 编辑 原始数据 按行查看 历史
向宇 提交于 2022-09-10 01:35 . add c language102.
#include<stdio.h>
int main(void)
{
int w=0,h=0;
float t=0.0,w1=0,h1=0;
printf("Input weight, height:\n");
scanf("%d,%d",&w,&h);
h1=(float)h/100;
w1=(float)w;
t=w1/(h1*h1);
printf("weight=%d\nheight=%.2f\nt=%.2f\n",w*2,h1,t);
return 0;
}
C
1
https://gitee.com/X_yugg1/learning-journey.git
git@gitee.com:X_yugg1/learning-journey.git
X_yugg1
learning-journey
初学之旅:2022大一秋
master

搜索帮助