2015年3月6日
摘要: 思路:首先随机生成两个操作数。将运算符存到数组c中,随机生成0-3的整数作为数组下标。即相当于随机产生运算符。 利用for循环输出30道四则运算题#include#includeint main(){ int a,b,d,i; char c[4]={'+','-','*','/'}; f... 阅读全文
posted @ 2015-03-06 12:31 博客找田雨 阅读(117) 评论(0) 推荐(0)