博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
第一周学习进度+四则运算1.0版
阅读量:4646 次
发布时间:2019-06-09

本文共 1693 字,大约阅读时间需要 5 分钟。

表1 缺陷记录日志

 学生     李婷婷                                                                          日期   2017/12/02  

教员     王建民                                                                                                     程序号     02       

 

日期

编号

类型

引入阶段

排除阶段

修复阶段

修复缺陷

2017/11/30

1

高新技术网站搭建

编码

编译

180min

 

功能太多,未全部实现。

 

2

修改程序

编码

编译

30min

 

将部分界面修改,对于程序运行过程的异常,进行排查。

 

3

最后修改

编码

编译

10min

 

将在截止时间内可修改的部分做修改。

 

 

 

表2 时间记录日志

学生     李婷婷                                                                                                      日期   2017/12/02  

教师     王建民                                                                                                      课程  软件工程概论

日期

开始时间

结束时间

中断时间

净时间

活动

备注

2017/11/30

20:00  

22:00

10min

120min

阅读《构建之法》,中场休息

 

 

14:00

18:00

30min

220min

Java期末考试

 

 

18:30

20:00

10min

90min

修改考试程序,最终未果。

 

二、四则运算源代码:

 

import java.util.Random;import java.util.Scanner;public class Size {	public static void main(String[] args) 	{		int k = 0; 		Scanner in = new Scanner(System.in);		System.out.println("请输入要生成的题目数:");		int j=in.nextInt();		for(int i=0;i
=1||t<=4) { if(t==1) {//加法 System.out.print(a+"+"+b+"="); int c = in.nextInt(); if(a+b==c) { System.out.println(" true"); k++; } else { System.out.println(" false"); } } else if(t==2) {//减法 System.out.print(a+"-"+b+"="); int c = in.nextInt(); if(a-b==c) { System.out.println(" true"); k++; } else { System.out.println(" false"); } } else {//除法 System.out.print(a+"/"+b+"="); int c = in.nextInt(); if(a/b==c) { System.out.println(" true"); k++; } else { System.out.println(" false"); } } } } System.out.println("您一共答对了"+k+"道题"); } public static int random() {//随机生成两个0-100的整数 int a; Random random=new Random(); a=(int) ( random.nextInt(100)); return a; } public static int character() {//随机生成运算符 int b; Random random=new Random(); b=(int) ( random.nextInt(4)); return b; }}

  

转载于:https://www.cnblogs.com/somedayLi/p/7955100.html

你可能感兴趣的文章
oracle, group by, having, where
查看>>
⑥python模块初识、pyc和PyCodeObject
查看>>
object-c中管理文件和目录:NSFileManager使用方法
查看>>
Kibana:分析及可视化日志文件
查看>>
nodejs pm2使用
查看>>
cocos2d-x 3.10 PageView BUG
查看>>
装饰器的基本使用:用户登录
查看>>
CSS选择器总结
查看>>
mysql中sql语句
查看>>
head/tail实现
查看>>
sql语句的各种模糊查询语句
查看>>
vlc 学习网
查看>>
Python20-Day05
查看>>
Real World Haskell 第七章 I/O
查看>>
C#操作OFFICE一(EXCEL)
查看>>
【js操作url参数】获取指定url参数值、取指定url参数并转为json对象
查看>>
移动端单屏解决方案
查看>>
web渗透测试基本步骤
查看>>
使用Struts2标签遍历集合
查看>>
angular.isUndefined()
查看>>