1.5admin•2025-05-25 06:15:19•建站资讯•阅读21 1.5 #include<stdio.h> int main() {int h;double m,sum=0;scanf("%d",&h);m=(double)h;for(int i=1;i<=9;i++){sum+=m+m/2.0;m=m/2;}sum=sum+m;printf("%g\n%g",sum,m/2);return 0; } 发布者:admin,转转请注明出处:http://www.yc00.com/news/1689126758a210337.html15admin0相关推荐建站资讯15admin2023-6-22260建站资讯1.5admin2023-7-12220建站资讯5,10,15,20admin2023-8-24200建站资讯水溶性卟啉配体H2TMPyP5,10,15,20admin2023-8-30240建站资讯科研试剂5,10,15,20admin2023-8-30260数码科技请在数轴上画出表明下列各数:-4,1.5,0,-1.5,4的点.怎么画?admin9月前20questionssettimeout - javascript run a function every quarter hour at 00, 15, 30 ,45 - Stack OverflowI have the following code taken from stack overflow:function doSomething() {var d = new Date(),h = newadmin3月前80questionsarrays - I get [1,15], instead of [1,0,15]. JavaScript filter - Stack OverflowCreate a function that takes a list of non-negative integers and strings and returns a new list with thadmin2月前140questionsjavascript - How to round a decimal to the nearest 0.5 (0.5, 1.5, 2.5, 3.5) - Stack OverflowI want to round a number to the nearest 0.5. Not every factor of 0.5, just the 0.5s.For example, 0.5,admin1月前70 发表回复提交评论列表(0条)暂无评论
评论列表(0条)