第4周作业-打字成绩判断程序
2014-04-17 16:47
246 查看
import java.util.Scanner; public class TouchType { public static void main(String args[]) { Scanner input=new Scanner(System.in); System.out.println("Enter a speed:"); int speed=input.nextInt(); if(speed>=15&speed<30) System.out.println("The score is 10"); if(speed>=30) System.out.println("The score is 15"); if(speed<15) System.out.println("you have another chance to test on 4/15"); System.out.println("Enter a respeed:"); int respeed=input.nextInt(); if(respeed>15) System.out.println("The score is 10"); int score1; int score; score1=(15-respeed)/2; score=15-score1; if(respeed<15) System.out.println("The score is"+score); } }
相关文章推荐
- 第4周作业-打字成绩判断程序
- 第4周作业-打字成绩判断程序
- 第4周作业-打字成绩判断程序
- 第4周作业-打字成绩判断程序
- 第4周作业-打字成绩判断程序(网络131 梁文俊)
- 第4周作业-打字成绩判断程序
- 第4周作业-打字成绩判断程序—修改
- 第4周作业-数学学习工具;第4周作业-打字成绩判断程序
- 第4周作业-打字成绩判断程序
- 第4周作业-打字成绩判断程序
- 第4周作业-打字成绩判断程序
- 第4周作业-打字成绩判断程序
- 第4周作业-打字成绩判断程序—修改
- 第5周作业-打字成绩判断程序TouchType
- 第5周作业-打字成绩判断程序
- 第5周作业-打字成绩判断程序GUI(未完成)
- 第五周作业—打字成绩判断程序
- 第5周作业-打字成绩判断程序(双版本)
- 第5周作业-打字成绩判断程序GUI
- 第5周作业-打字成绩判断程序