s24n*

导航

2018年3月7日 #

软件工程(课堂小练习)

摘要: 题目:出300道四则练习题 ,由一个程序写出来 分析:要产生随机数r, 其范围为 m<=r<=n,可以使用如下公式: rand()%(n-m+1)+m rand()%(n-m+1)+m #include <stdio.h> #include <time.h> #include <math.h> vo 阅读全文

posted @ 2018-03-07 17:19 s24n* 阅读(133) 评论(0) 推荐(0) 编辑