-
很好网的游戏,不信实施
很好网的游戏,不信实施-good net game and did not believe the implementation of
- 2022-08-10 17:59:23下载
- 积分:1
-
嵌套条件运算符的使用来完成这个问题:学术“= 90…
1输出国际象棋棋盘
2打印楼梯,同时在楼梯上方打印两个笑脸
3古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少?
4判断101-200之间有多少个素数,并输出所有素数。
5打印出所有的“水仙花数”,所谓“水仙花数”是指一个三位数,其各位数字立方和等于该数本身。例如:153是一个“水仙花数”,因为153=1的三次方+5的三次方+3的三次方。
6将一个正整数分解质因数。例如:输入90,打印出90=2*3*3*5。
程序分析:对n进行分解质因数,应先找到一个最小的质数k,然后按下述步骤完成:
(1)如果这个质数恰等于n,则说明分解质因数的过程已经结束,打印出即可。
(2)如果nk,但n能被k整除,则应打印出k的值,并用n除以k的商,作为新的正整数你n,
重复执行第一步。
(3)如果n不能被k整除,则用k+1作为k的值,重复执行第一步。
7利用条件运算符的嵌套来完成此题:学习成绩>=90分的同学用A表示,60-89分之间的用B表示,60分以下的用C表示。-The use of nested conditional operator to complete this question: academic "= 90 points, said students with A between 60-89, with B, said
60 points or less, said to use C.
- 2022-02-24 23:38:59下载
- 积分:1
-
This java program is a guessing number game were player will guessing number in...
This java program is a guessing number game were player will guessing number in a range of 1 to 100...have fun... :)
- 2022-03-15 14:51:09下载
- 积分:1
-
五子棋,只有基本功能,本来想加个计时功能的
五子棋,只有基本功能,本来想加个计时功能的-Gobang, only basic functions, originally wanted to add a time function
- 2022-12-03 15:25:03下载
- 积分:1
-
A beginners program for the Russian box, the more trouble, but the result is the...
一个初学者编的俄罗斯方块程序,麻烦了些,不过也算是有个结果。-A beginners program for the Russian box, the more trouble, but the result is there.
- 2022-07-15 08:17:45下载
- 积分:1
-
自己设计的扫雷 大家可以玩玩 蛮有意思的
自己设计的扫雷 大家可以玩玩 蛮有意思的-their mine design we can play pretty interesting
- 2022-02-28 12:28:03下载
- 积分:1
-
又是一宽经典手机游戏,让大家在手机上领略游戏的魅力,操作简单!画面漂亮...
又是一宽经典手机游戏,让大家在手机上领略游戏的魅力,操作简单!画面漂亮-is a classic wide mobile phone games, we appreciate the phone on the game"s charm, simple! Beautiful picture!
- 2023-03-29 19:15:03下载
- 积分:1
-
一个简易的围棋程序,可以作为初学者参考。
一个简易的围棋程序,可以作为初学者参考。-a simple Go procedures, as advanced users.
- 2023-01-27 08:20:03下载
- 积分:1
-
本程序是一个简单的网络黑白棋程序 提供本地和网络的双人对战...
本程序是一个简单的网络黑白棋程序 提供本地和网络的双人对战-This procedure is a simple network of Othello program provides local and network of Double Battle
- 2022-05-30 02:11:58下载
- 积分:1
-
VC Gobang write a program, mainly to achieve a network connection, and there is...
VC写的一个五子棋程序,主要是实现了网络连接,特点是程序会判断赢棋的种类-VC Gobang write a program, mainly to achieve a network connection, and there is a procedure to determine the type of赢棋
- 2022-07-17 11:18:31下载
- 积分:1