摘要:
定义一个含有8个存储单元的实型数组,从键盘上接受数,然后逆序输出。 #include<stdio.h> main() { double m[8]; int i; for(i=0;i<=7;i++) scanf("%lf",&m[i]); for(i=7;i>=0;i--) printf("%f",m 阅读全文
posted @ 2021-11-24 13:05
很多可乐
阅读(63)
评论(0)
推荐(0)
摘要:
1. 猜数字: 随机产生一个0-99的数,猜猜看 如果大了 就提示大了点 如果小了 就提示小了点 直到猜对为止 #include <stdio.h> #include <stdlib.h> #include <time.h> int main() { int a,b,c; srand((unsign 阅读全文
posted @ 2021-11-24 12:51
很多可乐
阅读(23)
评论(0)
推荐(0)

浙公网安备 33010602011771号