• 大小: 29KB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2021-06-24
  • 语言: Java
  • 标签: 评分系统  

资源简介

基于JAVA平台...选手比赛评分系统...

资源截图

代码片段和文件信息

/*
 * To change this template choose Tools | Templates
 * and open the template in the editor.
 */

package compete;

/**
 *
 * @author w
 */
import java.util.*;
public class Menu {
Player player=new Player();
Sequence sequence=new Sequence();
Tograde tograde=new Tograde();
public void showMainMenu(){
System.out.println(“\n\n\t\t\t    欢 迎 使 用 梅彬 评 分 系 统 1.0 版\n“);
System.out.println(“************************************************\n“);
System.out.println(“\t\t\t\t 1. 选 手 信 息 管 理\n“);
System.out.println(“\t\t\t\t 2. 评 委 评 分\n“);
System.out.println(“\t\t\t\t 3. 成 绩 显 示\n“);
System.out.println(“\t\t\t\t 4. 退 出\n“);
System.out.println(“************************************************\n“);
System.out.print(“请选择,输入数字:“);
boolean con;
do{
con=false;
Scanner input=new Scanner(System.in);
int no=input.nextInt();
if(no==1){
showPlayerMMenu();
}else if(no==2){
showTograde();
}else if(no==3){
showScorMenu();
}else if(no==4){
System.out.println(“\n\n谢谢使用!“);
}else{
System.out.print(“输入错误,请重新输入数字:“);
con=true;
}
}while(con);
}

public void showPlayerMMenu(){
System.out.println(“\n\n梅彬评分系统 > 选手信息管理\n“);
System.out.println(“************************************************\n“);
System.out.println(“\t\t\t\t 1. 录 入 选 手 信 息\n“);
System.out.println(“\t\t\t\t 2. 修 改 选 手 信 息\n“);
System.out.println(“\t\t\t\t 3. 查 询 选 手 信 息\n“);
System.out.println(“************************************************\n“);
System.out.print(“请选择,输入数字或按0返回上一级菜单:“);
boolean con;
do{
con=false;
Scanner input=new Scanner(System.in);
int no=input.nextInt();
if(no==1){
showAddMenu();
}else if(no==2){
showChangeMenu();
}else if(no==3){
showSearchMenu();
}else if(no==0){
showMainMenu();
}else{
System.out.print(“输入错误,请重新输入数字:“);
con=true;
}
}while(con);
}

public void showTograde(){
System.out.println(“\n\n梅彬评分系统 > 评委评分\n“);
Scanner input=new Scanner(System.in);
tograde.tograde(player.playerNoplayer.playerNameplayer.playerScore);
System.out.print(“\n按0返回上一级菜单:“);
boolean con;
do{
con=false;
int no=input.nextInt();
if(no==0){
showMainMenu();
}else{
System.out.print(“输入错误,请重新输入数字:“);
con=true;
}
}while(con);
}

public void showScorMenu(){
System.out.println(“\n\n梅彬评分系统 > 分数显示\n“);
System.out.println(“************************************************\n“);
System.out.println(“\t\t\t\t 1. 按 编 号 顺 序\n“);
System.out.println(“\t\t\t\t 2. 按 分 数 高 低\n“);
System.out.println(“************************************************\n“);
Scanner input=new Scanner(System.in);
sequence.sequence(player.playerNo player.playerName player.playerScore);
System.out.print(“\n按0返回上一级菜单:“);
boolean con;
do{
con=false;
int no=input.nextInt();
if(no==0){
showMainMenu();
}else{
System.out.print(“输入错误,请重新输入数字:“);
con=true;
}
}while(con);
}

    public void showAddMenu(){
     Syst

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       4148  2009-01-07 14:58  学生评分系统\compete\build\classes\compete\Menu.class

     文件       4046  2009-01-07 14:58  学生评分系统\compete\build\classes\compete\Player.class

     文件       2653  2008-11-12 11:21  学生评分系统\compete\build\classes\compete\Sequence.class

     文件        476  2008-11-12 11:21  学生评分系统\compete\build\classes\compete\Start.class

     文件       2610  2008-11-12 11:21  学生评分系统\compete\build\classes\compete\Tograde.class

     文件       3358  2008-11-12 11:00  学生评分系统\compete\build.xml

     文件      15048  2009-01-07 14:58  学生评分系统\compete\dist\compete.jar

     文件       1446  2009-01-07 15:27  学生评分系统\compete\dist\README.TXT

     文件         85  2008-11-12 11:01  学生评分系统\compete\manifest.mf

     文件      33196  2008-11-12 11:00  学生评分系统\compete\nbproject\build-impl.xml

     文件        455  2008-11-12 11:00  学生评分系统\compete\nbproject\genfiles.properties

     文件        185  2009-01-07 14:56  学生评分系统\compete\nbproject\private\private.properties

     文件        211  2009-01-07 15:28  学生评分系统\compete\nbproject\private\private.xml

     文件       1809  2008-11-12 11:19  学生评分系统\compete\nbproject\project.properties

     文件        577  2008-11-12 11:00  学生评分系统\compete\nbproject\project.xml

     文件       5854  2009-01-07 14:58  学生评分系统\compete\src\compete\Menu.java

     文件       4692  2008-11-14 14:15  学生评分系统\compete\src\compete\Player.java

     文件       2281  2008-11-12 11:19  学生评分系统\compete\src\compete\Sequence.java

     文件        326  2008-11-12 11:19  学生评分系统\compete\src\compete\Start.java

     文件       1996  2008-11-12 11:19  学生评分系统\compete\src\compete\Tograde.java

     目录          0  2008-12-09 19:56  学生评分系统\compete\build\classes\compete

     目录          0  2008-12-09 19:56  学生评分系统\compete\build\classes

     目录          0  2008-12-09 19:56  学生评分系统\compete\nbproject\private

     目录          0  2008-12-09 19:56  学生评分系统\compete\src\compete

     目录          0  2008-12-09 19:56  学生评分系统\compete\build

     目录          0  2009-01-07 14:58  学生评分系统\compete\dist

     目录          0  2008-12-09 19:56  学生评分系统\compete\nbproject

     目录          0  2008-12-09 19:56  学生评分系统\compete\src

     目录          0  2008-12-09 19:56  学生评分系统\compete\test

     目录          0  2009-01-07 14:58  学生评分系统\compete

............此处省略4个文件信息

评论

共有 条评论