心理魔术
发布日期:2022-04-11 11:39:08
浏览次数:42
分类:博客文章
本文共 384 字,大约阅读时间需要 1 分钟。
#include "stdio.h" #include "stdlib.h" #include "time.h" int main() { int i; char c,gu; srand((unsigned)time(NULL));
c=6; gu=rand()%6+1; for (i=1;i<=100;i++) { c=rand()%31+1; if(c>=7&&c<=13); c=17; if(i%9==0) printf("%d. %c\t",i,gu); else printf("%d. %c\t",i,c); if(i%5==0) printf("\n");
} printf("please enter a number:\n"); getchar(); for(i=1;i<=15;i++) printf("%c",gu); return 0;
}
转载地址:https://www.cnblogs.com/P201821430016/p/10614173.html 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!
发表评论
最新留言
路过按个爪印,很不错,赞一个!
[***.219.124.196]2024年04月09日 07时05分17秒
关于作者
喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
06 Python之函数调用与定义
2019-04-26
07 Python之Numpy库
2019-04-26
08 Python之Pandas库选择查看、选择
2019-04-26
09 Python之Pandas库之数据处理与规整
2019-04-26
10 Python之Matplotlib库
2019-04-26
11 Python总结之股票数据量化分析
2019-04-26
12 Python总结之蒙特卡洛模拟
2019-04-26
13 Python总结之估值
2019-04-26
14 Python总结之风险管理
2019-04-26
15 Python总结之数据分析与挖掘
2019-04-26
16 Python总结之舆情时间序列可视化
2019-04-26
数据结构和算法的知识图谱
2019-04-26
人工智能技术知识图谱
2019-04-26
机器学习算法之KNN
2019-04-26
实战六:手把手教你用TensorFlow进行手写数字识别
2019-04-26
实战七:手把手教你用TensorFlow进行验证码识别(上)
2019-04-26
机器学习算法之梯度下降法
2019-04-26
机器学习算法之多项式回归
2019-04-26
TensorFlow(keras)入门课程--01 机器学习的Hello World
2019-04-26
TensorFlow(keras)入门课程--03 卷积介绍
2019-04-26