> 其他 >
c语言程序设计.一个物体从100米的高处自由落下,编写程序,求它在前三秒内下落的垂直距离,重力加速度为
人气:299 ℃ 时间:2019-08-21 11:50:34
解答
#include
#define G 9.8
void main()
{int y=3;
printf("the result is %.2f\n",0.5*G*y*y);
getch();
}
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版