2021年4月11日

摘要: 需求分析:需要通过用户在ListBox中选择起点站与终点站,来计算出俩站需要花费的路费。设计文档:用户可以随意选择ListBox中的元素,可以清楚的看到某站到某站的路费,并在页面下面写上提示,乘坐几站多少钱,那一站是转线站。 程序设计:#include <iostream>#include <vec 阅读全文
posted @ 2021-04-11 23:49 计应191(西)第六组 阅读(70) 评论(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(西)第六组 阅读(56) 评论(0) 推荐(0)
 
摘要: 四则运算代码 str_input = input('请输入简单的四则计算式(支持括号):')class Stack:#建栈def __init__(self):self.items = []def push(self,item):return self.items.append(item)def p 阅读全文
posted @ 2021-04-11 21:49 计应191(西)第六组 阅读(59) 评论(0) 推荐(0)
 
摘要: 四则运算代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ClassLibrary1{ public 阅读全文
posted @ 2021-04-11 18:26 计应191(西)第六组 阅读(52) 评论(0) 推荐(0)
 
摘要: 四则运算 include <stdio.h>#include <stdlib.h>void main() { int n=0,count=0; printf("\n欢迎使用小学生四则运算练习软件\n"); int ch=0; printf("\n欢迎使用小学生四则运算练习软件\n\n"); whil 阅读全文
posted @ 2021-04-11 18:18 计应191(西)第六组 阅读(47) 评论(0) 推荐(0)
 
摘要: 四则运算计算器 四则运算计算器 C语言 dev 算法说明: 通过字符型转化为整型实现多位数输入,通过优先级数组实现对优先级的判断。定义一个变量确定运算符和运算数的输入,防止输入错误产生。再通过定义一个变量检查括号是否输入正确。 使用说明: 运算数据可以为多位数,运算符号为·:+、-、*、/、(、), 阅读全文
posted @ 2021-04-11 17:46 计应191(西)第六组 阅读(87) 评论(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-04-11 12:14 计应191(西)第六组 阅读(83) 评论(0) 推荐(0)