摘要:
阅读全文
摘要:
计应192(西)—第三组—黄如意 思路: 用一个列表让用户选择加减乘除运算,生成两个随机数与运算符结合形成算式,用户输入结果后提交,系统做出判断并展示在listBox1中,listBox1中展示用户做题的记录以及对错,右侧则展示用户正确的题数,点击重新答题则会清空listBox1中的历史记录和用户正 阅读全文
摘要:
#include <stdio.h>int main(){ int a,b,c,m,t; printf("请输入两个数:\n"); scanf("%d%d",&a,&b); if(a<b) { t=a; a=b; b=t; } m=a*b; c=a%b; while(c!=0) { a=b; b=c 阅读全文
摘要:
class Program { Random random = new Random(); void 计算器(int 数量) { int 正确数量 = 0; int 次数 = 0; while (次数<数量) { int 运算符 = random.Next(0, 3); int 操作数1 = ran 阅读全文
摘要:
class Program { static void Main(string[] args) { mathvoid op = new mathvoid(); string Z = ""; do { Console.WriteLine(" 四则运算 "); Console.WriteLine("") 阅读全文
摘要:
public partial class Form1 : Form{public Form1(){InitializeComponent();} int a, b,aaa,bbb,bb; string op;string op1;string op2; int result;int result1; 阅读全文
摘要:
namespace lj{ class Program { static void Main(string[] args) { while (true) { Random shuijishu = new Random(); int shu1 = shuijishu.Next(0, 100); int 阅读全文
摘要:
namespace lh{ class Program { static void Main(string[] args) { while (true) { Random shuijishu = new Random(); int shuijishu1 = shuijishu.Next(0, 100 阅读全文
摘要:
需求分析:作为一个一年级的小学生老师,我希望有一个软件可以按照我意思给出两位数的加减乘除的式子,并且可以计算孩子的答案是否正确。给出正确的题数 具体思想:定义变量来接受客户给出的题数,给出的俩个数字,客户想进行的运算(1,2,3,4,其中1代表加法,2代表减法,3代表乘法,4代表除法),以及定义好加 阅读全文