2021年5月31日

摘要: # -*- coding:utf-8 -*- __author__ = 'zhengbiqing 460356155@qq.com' __doc__ = """口算程序 2017-05-31""" from random import randint sym = [' + ', ' - '] # 当 阅读全文
posted @ 2021-05-31 22:07 计应191(西)第六组 阅读(38) 评论(0) 推荐(0) 编辑
 
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文
posted @ 2021-05-31 21:58 计应191(西)第六组 阅读(45) 评论(0) 推荐(0) 编辑
 
摘要: if __name__ == '__main__': import random for i in range(0,10): s = "" for i in range(0, 3): type = random.randint(1, 4) if type == 1: a = random.randi 阅读全文
posted @ 2021-05-31 20:59 计应191(西)第六组 阅读(30) 评论(0) 推荐(0) 编辑
 
摘要: 创建小学生口算题目文件math.txtfobj = open('math.txt', 'w')defbase_exei_oneline(pmin, pmax, mmin, mmax, multimin, multimax, divmin, divmax):'''pmin,pmax:加数、被加数最小最 阅读全文
posted @ 2021-05-31 20:54 计应191(西)第六组 阅读(40) 评论(0) 推荐(0) 编辑
 
摘要: 一、计划 编写小学生四则运算口算题卡 二.开发 1.需求分析 作为一名一年级小学生的家长,我希望开发口算题卡软件,让我的孩子学习,能自己产生随机产生100以正整数加减乘除法,以便减轻我的工作负担。 2.生成设计文档 3.设计复审 4.代码规范 注意大小写、缩进、括号及分行。 5.具体设计 系统开始, 阅读全文
posted @ 2021-05-31 19:51 计应191(西)第六组 阅读(57) 评论(0) 推荐(0) 编辑
 

2021年5月30日

摘要: 主要功能:(1)主页选择出题范围:主要描述:提交表单到后台接口,生成相应符合标准的运算式。 表单验证 <c:forEach items="${sessionScope.formulaList}" var="c" varStatus="status"> //遍历运算式数组 <div class="Ti 阅读全文
posted @ 2021-05-30 23:40 计应191(西)第六组 阅读(48) 评论(0) 推荐(0) 编辑
 
摘要: 分析: 程序要求: 1、自动生成题目 2、判断答案正确与否 3、可以控制生成题目数量实现步骤 using System; using System.Collections.Generic; using System.Linq; using System.Web;public abstract cla 阅读全文
posted @ 2021-05-30 22:10 计应191(西)第六组 阅读(44) 评论(0) 推荐(0) 编辑
 
摘要: 一、计划 编写一个小学生的四则运算程序。 二、开发 1.需求分析:作为一位小学生的家长,希望制作一个随机自动出题软件,用以完成50以内的正整数的加减法,以便减轻我的负担。 2.生成设计文档。 3.设计复审。 4.代码规范。 注意大小写,注意缩进,括号一定要配对,注意要分行。 5.具体设计。 系统开始 阅读全文
posted @ 2021-05-30 22:03 计应191(西)第六组 阅读(70) 评论(0) 推荐(0) 编辑
 

2021年4月11日

摘要: 需求分析:需要通过用户在ListBox中选择起点站与终点站,来计算出俩站需要花费的路费。设计文档:用户可以随意选择ListBox中的元素,可以清楚的看到某站到某站的路费,并在页面下面写上提示,乘坐几站多少钱,那一站是转线站。 程序设计:#include <iostream>#include <vec 阅读全文
posted @ 2021-04-11 23:49 计应191(西)第六组 阅读(57) 评论(0) 推荐(0) 编辑
 
摘要: 四则运算代码 public class FourFundamentalRules { private static Stack<Character> stack = new Stack<>();//后缀表达式 private static Stack<Character> stack_1 = new 阅读全文
posted @ 2021-04-11 21:54 计应191(西)第六组 阅读(54) 评论(0) 推荐(0) 编辑