刷题
文章平均质量分 54
光顾着
一个写代码的菜鸟
展开
-
刷题 java 一个球从100米高处自由落下,每次着地后又跳回原来高度的 一半再落下,当它第10次着地时
A ball drops freely from 100 meters, and each time it hits the ground, it jumps back to half its original height and falls again, when it hits the ground for the tenth time / * * ** * Project Name: One * File Name: TestBall * * @version 1.0 * @..原创 2022-03-20 20:15:13 · 340 阅读 · 0 评论 -
java 打印100-1000之内的水仙花数
java 打印100-1000之内的水仙花数 “水仙花数”是指一个三位数,其各位数字的立方和确好等于该数本身,如;153=1+5+3?,则153是一个“水仙花数”。 机翻英语 : Java prints daffodils in the range of 100-1000 A "daffodil number" is a three-digit number whose cube sum is exactly equal to the number itself, e.g.153 = 1 ...原创 2022-03-20 20:03:36 · 1136 阅读 · 0 评论