摘要:
#include<stdio.h> #include<stdlib.h> /*题目:将一个正整数分解质因数*/ int main() { system("color 1F"); // 设定显示框为蓝底白字 system("mode con cols=80 lines=30"); //固定显示框尺寸 /******************************************程序主体分割线 阅读全文
posted @ 2019-08-23 17:50
狗狗王
阅读(1041)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<stdlib.h> /*题目:打印出所有的“水仙花数”,所谓“水仙花数”是指一个三位数,其各位数字立方和等于该数本身*/ int main() { system("color 1F"); // 设定显示框为蓝底白字 system("mode con cols=80 lines=50"); //固定显示框尺寸 /***************** 阅读全文
posted @ 2019-08-23 17:48
狗狗王
阅读(2781)
评论(0)
推荐(0)
摘要:
【此处扩展为求任意两个数m,n之间的素数及个数】 阅读全文
posted @ 2019-08-23 17:47
狗狗王
阅读(2879)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<stdlib.h> /*题目:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少?*/ int main() { system("color 1F"); // 设定显示框为蓝底白字 system("mode con cols=80 lines=30"); //固定显 阅读全文
posted @ 2019-08-23 17:46
狗狗王
阅读(670)
评论(0)
推荐(0)
摘要:
#include #include /*题目:打印楼梯和笑脸*/ int main() { //system("color 1F"); // 设定显示框为蓝底白字 system("mode con cols=80 lines=30"); //固定显示框尺寸 /******************************************程序主体分割线(顶部)*************... 阅读全文
posted @ 2019-08-23 17:44
狗狗王
阅读(808)
评论(0)
推荐(0)
摘要:
#include #include /*题目:输出国际象棋棋盘*/ int main() { //system("color 1F"); // 设定显示框为蓝底白字 system("mode con cols=80 lines=30"); //固定显示框尺寸 /******************************************程序主体分割线(顶部)************... 阅读全文
posted @ 2019-08-23 17:44
狗狗王
阅读(1458)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<stdlib.h> /*题目:输出9*9 口诀。*/ int main() { system("color 1F"); // 设定显示框为蓝底白字 system("mode con cols=80 lines=30"); //固定显示框尺寸 /******************************************程序主体分割线(顶 阅读全文
posted @ 2019-08-23 17:42
狗狗王
阅读(807)
评论(1)
推荐(0)
摘要:
#include<stdio.h> #include<stdlib.h> /*题目:输出特殊图案,请在c 环境中运行,看一看, VeryBeautiful!*/ int main() { system("color 1F"); // 设定显示框为蓝底白字 system("mode con cols=80 lines=30"); //固定显示框尺寸 /************************ 阅读全文
posted @ 2019-08-23 17:41
狗狗王
阅读(1967)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<stdlib.h> /*题目:用*号输出字母C的图案*/ int main() { system("color 1F"); // 设定显示框为蓝底白字 system("mode con cols=80 lines=30"); //固定显示框尺寸 /******************************************程序主体分割线 阅读全文
posted @ 2019-08-23 17:38
狗狗王
阅读(2937)
评论(0)
推荐(1)
摘要:
#include<stdio.h> #include<stdlib.h> /*题目:输入三个整数x,y,z,请把这三个数由小到大输出*/ int main() { system("color 1F"); // 设定显示框为蓝底白字 system("mode con cols=80 lines=30"); //固定显示框尺寸 /************************************ 阅读全文
posted @ 2019-08-23 17:37
狗狗王
阅读(3398)
评论(0)
推荐(0)

浙公网安备 33010602011771号