摘要: task1 问题1:生成5个1-100的随机数 并带上前缀20490042 问题2:rand()表随机 %CNT表示 将生成的数限制在1-99间 +1则变为1-100间 问题3:输出占4个字符宽度的十进制整数 这样不足4位也会自动补0 问题4:初始化随机数种子 task2 问题1:下一次运行的时候 阅读全文
posted @ 2026-10-28 15:31 耿熹 阅读(5) 评论(0) 推荐(0)
摘要: task1 #include<stdio.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); return 0; } task2 #include <stdio.h> int main() { double a, b, 阅读全文
posted @ 2026-10-17 12:29 耿熹 阅读(8) 评论(1) 推荐(0)