摘要: #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 阅读全文
posted @ 2021-04-11 16:40 计应192西三组 阅读(68) 评论(0) 推荐(0)
摘要: class Program { Random random = new Random(); void 计算器(int 数量) { int 正确数量 = 0; int 次数 = 0; while (次数<数量) { int 运算符 = random.Next(0, 3); int 操作数1 = ran 阅读全文
posted @ 2021-04-11 16:18 计应192西三组 阅读(44) 评论(0) 推荐(0)
摘要: class Program { static void Main(string[] args) { mathvoid op = new mathvoid(); string Z = ""; do { Console.WriteLine(" 四则运算 "); Console.WriteLine("") 阅读全文
posted @ 2021-04-11 16:14 计应192西三组 阅读(44) 评论(0) 推荐(0)
摘要: public partial class Form1 : Form{public Form1(){InitializeComponent();} int a, b,aaa,bbb,bb; string op;string op1;string op2; int result;int result1; 阅读全文
posted @ 2021-04-11 16:11 计应192西三组 阅读(56) 评论(0) 推荐(0)
摘要: namespace lj{ class Program { static void Main(string[] args) { while (true) { Random shuijishu = new Random(); int shu1 = shuijishu.Next(0, 100); int 阅读全文
posted @ 2021-04-11 13:54 计应192西三组 阅读(50) 评论(0) 推荐(0)
摘要: namespace lh{ class Program { static void Main(string[] args) { while (true) { Random shuijishu = new Random(); int shuijishu1 = shuijishu.Next(0, 100 阅读全文
posted @ 2021-04-11 13:45 计应192西三组 阅读(54) 评论(0) 推荐(0)