学籍管理系统 java_Java学籍管理系统
package 学籍管理系统;
public class Scorelnformation
{
private String stunumber;
private String name;
private double mathematicsscore;
private double englishisore;
private double networkscore;
private double databasescore;
private double softwarescore;
public String getStunumber(){
return stunumber;}
public String getName(){
return name;}
public double getMathematicsscore(){
return mathematicsscore;}
public double getEnglishisore(){
return englishisore;}
public double getNetworkscore(){
return networkscore;}
public double getDatabasescore(){
return databasescore;}
public double getSoftwarescore(){
return softwarescore;}
public void setStunumber(String stunumber){
this.stunumber = stunumber;}
public void setName(String name){
this.name = name;}
public void setMathematicsscore(double string){
this.mathematicsscore = string;}
public void setEnglishisore(double englishisore){
this.englishisore = englishisore;}
public void setNetworkscore(double networkscore){
this.networkscore = networkscore;}
public void setDatabasescore(double databasescore){
this.databasescore = databasescore;}
public void setSoftwarescore(double softwarescore){
this.softwarescore = softwarescore;
}
public static void main(String[] args) {
}}
package 学籍管理系统;
public class cunchu {
private static final Scorelnformation[] Scorelnformation = null;
public cunchu() {
for(int i=0;i<5;i++){
Scorelnformation[i]=new Scorelnformation();
Scorelnformation[0].setName("闫彦霖");
Scorelnformation[0].setStunumber("20183604");
Scorelnformation[1].setName("闫彦");
Scorelnformation[1].setStunumber("20180000");
Scorelnformation[2].setName("闫霖");
Scorelnformation[2].setStunumber("20180001");
Scorelnformation[3].setName("彦霖");
Scorelnformation[3].setStunumber("20180002");
Scorelnformation[4].setName("霖");
Scorelnformation[4].setStunumber("20180003");
}}
public static void main(String[] args) {
// TODO 自动生成的方法存根
}
}
package 学籍管理系统;
import java.io.IOException;
import
java.util.Scanner;
public class xitong {
static Scorelnformation[] Scorelnformation=new Scorelnformation[100];
static int number=0;
static Scanner scanner=new Scanner(System.in);
public static Scanner scan = new Scanner(System.in);
static Scanner in = new Scanner(System.in);
public static void menu(String[] args){
}
static void luru(){
int f=in.nextInt();
if(f==1)
{
System.out.println("学生数量");
int l=in.nextInt();
for(int j=0;j
System.out.println("请输入学生学号,姓名,高数成绩,英语成绩,计算机网络成绩,数据库成绩,软件工程成绩");
Scorelnformation[number]=new Scorelnformation();
Scorelnformation[number].setStunumber(scanner.next());
Scorelnformation[number].setName(scanner.next());
Scorelnformation[number].setMathematicsscore(scanner.nextInt());
Scorelnformation[number].setEnglishisore(scanner.nextInt());
Scorelnformation[number].setNetworkscore(scanner.nextInt());
Scorelnformation[number].setDatabasescore(scanner.nextInt());
Scorelnformation[number].setSoftwarescore(scanner.nextInt());
number++;
for(int i=0;i
System.out.println("******************************");
System.out.println("学生学号");
System.out.println(Scorelnformation[i].getStunumber());
System.out.println("学生姓名\n");
System.out.println(Scorelnformation[i].getName());
System.out.println("高等数学成绩\n");
System.out.println(Scorelnformation[i].getMathematicsscore());
System.out.println("大学英语成绩\n");
System.out.println(Scorelnformation[i].getEnglishisore());
System.out.println("计算机网络成绩\n");
System.out.println(Scorelnformation[i].getNetworkscore());
System.out.println("数据库成绩\n");
System.out.println(Scorelnformation[i].getDatabasescore());
System.out.println("软件工程成绩\n");
System.out.println(Scorelnformation[i].getSoftwarescore());
System.out.println(" 该学生成绩已录入完毕,是否提交(1是/2否)");
System.out.println("***********************************************************");
int m=in.nextInt();
if(m==1)
{
System.out.println("******************************\n");
System.out.println("******************************\n");
System.out.println(" 石家庄铁道大学软件工程系");
System.out.println(" 学生学籍管理系统2019版");
System.out.println("******************************\n");
System.out.println(" 1.学生考试成绩录入\n");
System.out.println(" 2.学生考试成绩修改\n");
System.out.println(" 3.计算学生成绩绩点\n");
System.out.println(" 4.退出学籍管理系统\n");
System.out.println("******************************\n");
}
else{Scorelnformation[i].setMathematicsscore(0);
Scorelnformation[i].setEnglishisore(0);
Scorelnformation[i].setNetworkscore(0);
Scorelnformation[i].setDatabasescore(0);
Scorelnformation[i].setSoftwarescore(0);
}
}
}}
}
static void xiugai(){
int m=in.nextInt();
if(m==2){
System.out.println("***********************************************************");
System.out.println(" 石家庄铁道大学软件工程系学生学籍管理系统 2019 版");
System.out.println(" 学生考试成绩修改界面");
System.out.println("***********************************************************");
System.out.println(" 请输入学生学号:");
System.out.println("***********************************************************");
String c=scanner.next();
for(int i=0;i<100;i++){
if(c.equals(Scorelnformation[i].getStunumber())){
System.out.println("******************************");
System.out.println("学生学号");
System.out.println(Scorelnformation[i].getStunumber());
System.out.println("学生姓名\n");
System.out.println(Scorelnformation[i].getName());
System.out.println("高等数学成绩\n");
System.out.println(Scorelnformation[i].getMathematicsscore());
System.out.println("大学英语成绩\n");
System.out.println(Scorelnformation[i].getEnglishisore());
System.out.println("计算机网络成绩\n");
System.out.println(Scorelnformation[i].getNetworkscore());
System.out.println("数据库成绩\n");
System.out.println(Scorelnformation[i].getDatabasescore());
System.out.println("软件工程成绩\n");
System.out.println(Scorelnformation[i].getSoftwarescore());
System.out.println("请输入要修改的信息:1学号,2姓名,3高数,4英语,5计算机网络,6数据库,7软件工程");
int l=in.nextInt();
if(l==1){
Scorelnformation[i].setStunumber(scanner.next());
}
if(l==2){
Scorelnformation[i].setName(scanner.next());
}
if(l==3){
Scorelnformation[i].setMathematicsscore(scanner.nextInt());
}
if(l==4){
Scorelnformation[i].setEnglishisore(scanner.nextInt());
}
if(l==5){
Scorelnformation[i].setNetworkscore(scanner.nextInt());
}
if(l==6){
Scorelnformation[i].setDatabasescore(scanner.nextInt());
}
if(l==7){
Scorelnformation[i].setSoftwarescore(scanner.nextInt());
}
System.out.println("******************************");
System.out.println("学生学号");
System.out.println(Scorelnformation[i].getStunumber());
System.out.println("学生姓名\n");
System.out.println(Scorelnformation[i].getName());
System.out.println("高等数学成绩\n");
System.out.println(Scorelnformation[i].getMathematicsscore());
System.out.println("大学英语成绩\n");
System.out.println(Scorelnformation[i].getEnglishisore());
System.out.println("计算机网络成绩\n");
System.out.println(Scorelnformation[i].getNetworkscore());
System.out.println("数据库成绩\n");
System.out.println(Scorelnformation[i].getDatabasescore());
System.out.println("软件工程成绩\n");
System.out.println(Scorelnformation[i].getSoftwarescore());
System.out.println(" 该学生成绩已录入完毕,是否提交(1是/2否)");
System.out.println("***********************************************************");
int h=in.nextInt();
if(h==1)
{
System.out.println("******************************\n");
System.out.println("******************************\n");
System.out.println(" 石家庄铁道大学软件工程系");
System.out.println(" 学生学籍管理系统2019版");
System.out.println("******************************\n");
System.out.println(" 1.学生考试成绩录入\n");
System.out.println(" 2.学生考试成绩修改\n");
System.out.println(" 3.计算学生成绩绩点\n");
System.out.println(" 4.退出学籍管理系统\n");
System.out.println("******************************\n");
}
}
else{Scorelnformation[i].setMathematicsscore(0);
Scorelnformation[i].setEnglishisore(0);
Scorelnformation[i].setNetworkscore(0);
Scorelnformation[i].setDatabasescore(0);
Scorelnformation[i].setSoftwarescore(0);
}}
}}
public static void jidian( ) throws IOException{
int m=in.nextInt();
if(m==3){
System.out.println("****&**************************\n");
System.out.println("石家庄铁道大学软件工程系学生学籍管理系统2019版\n");
System.out.println(" 学生考试成绩绩点计算界面\n");
System.out.println("*******************************\n");
System.out.println(" 请输入学生学号:");
System.out.println("***********************************************************");
String c = in.next();
for(int i=0;i<100;i++){
if(c.equals(Scorelnformation[i].getStunumber())) {
System.out.println("******************************");
System.out.println("学生学号");
System.out.println(Scorelnformation[i].getStunumber());
System.out.println("学生姓名\n");
System.out.println(Scorelnformation[i].getName());
System.out.println("高等数学成绩\n");
System.out.println(Scorelnformation[i].getMathematicsscore());
System.out.println("大学英语成绩\n");
System.out.println(Scorelnformation[i].getEnglishisore());
System.out.println("计算机网络成绩\n");
System.out.println(Scorelnformation[i].getNetworkscore());
System.out.println("数据库成绩\n");
System.out.println(Scorelnformation[i].getDatabasescore());
System.out.println("软件工程成绩\n");
System.out.println(Scorelnformation[i].getSoftwarescore());
double gaoshujidian;
if(Scorelnformation[i].getMathematicsscore()>=75)
{
if(Scorelnformation[i].getMathematicsscore()>=82)
{
if(Scorelnformation[i].getMathematicsscore()>=90)
{
gaoshujidian=4.0;
}
else
{
if(Scorelnformation[i].getMathematicsscore()>=85)
{
gaoshujidian=3.7;
}
else
{
gaoshujidian=3.3;
}
}
}
else
{
if(Scorelnformation[i].getMathematicsscore()>=78)
{
gaoshujidian=3.0;
}
else
{
gaoshujidian=2.7;
}
}
}
else
{
if(Scorelnformation[i].getMathematicsscore()>=68)
{
if(Scorelnformation[i].getMathematicsscore()>=72)
{
gaoshujidian=2.3;
}
else
{
gaoshujidian=2.0;
}
}
else
{
if(Scorelnformation[i].getMathematicsscore()>=64)
{
if(Scorelnformation[i].getMathematicsscore()>=66)
{
gaoshujidian=1.7;
}
else
{
gaoshujidian=1.5;
}
}
else
{
if(Scorelnformation[i].getMathematicsscore()>=60)
{
gaoshujidian=1.0;
}
else
{
gaoshujidian=0.0;
}}}}
double yingyujidian;
if(Scorelnformation[i].getEnglishisore()>=75)
{
if(Scorelnformation[i].getEnglishisore()>=82)
{
if(Scorelnformation[i].getEnglishisore()>=90)
{
yingyujidian=4.0;
}
else
{
if(Scorelnformation[i].getEnglishisore()>=85)
{
yingyujidian=3.7;
}
else
{
yingyujidian=3.3;
}
}
}
else
{
if(Scorelnformation[i].getEnglishisore()>=78)
{
yingyujidian=3.0;
}
else
{
yingyujidian=2.7;
}
}
}
else
{
if(Scorelnformation[i].getEnglishisore()>=68)
{
if(Scorelnformation[i].getEnglishisore()>=72)
{
yingyujidian=2.3;
}
else
{
yingyujidian=2.0;
}
}
else
{
if(Scorelnformation[i].getEnglishisore()>=64)
{
if(Scorelnformation[i].getEnglishisore()>=66)
{
yingyujidian=1.7;
}
else
{
yingyujidian=1.5;
}
}
else
{
if(Scorelnformation[i].getEnglishisore()>=60)
{
yingyujidian=1.0;
}
else
{
yingyujidian=0.0;
}
}
}}
double jsjjidian;
if(Scorelnformation[i].getNetworkscore()>=75)
{
if(Scorelnformation[i].getNetworkscore()>=82)
{
if(Scorelnformation[i].getNetworkscore()>=90)
{
jsjjidian=4.0;
}
else
{
if(Scorelnformation[i].getNetworkscore()>=85)
{
jsjjidian=3.7;
}
else
{
jsjjidian=3.3;
}
}
}
else
{
if(Scorelnformation[i].getNetworkscore()>=78)
{
jsjjidian=3.0;
}
else
{
jsjjidian=2.7;
}
}
}
else
{
if(Scorelnformation[i].getNetworkscore()>=68)
{
if(Scorelnformation[i].getNetworkscore()>=72)
{
jsjjidian=2.3;
}
else
{
jsjjidian=2.0;
}
}
else
{
if(Scorelnformation[i].getNetworkscore()>=64)
{
if(Scorelnformation[i].getNetworkscore()>=66)
{
jsjjidian=1.7;
}
else
{
jsjjidian=1.5;
}
}
else
{
if(Scorelnformation[i].getNetworkscore()>=60)
{
jsjjidian=1.0;
}
else
{
jsjjidian=0.0;
}
}}}
double sjkjidian;
if(Scorelnformation[i].getDatabasescore()>=75)
{
if(Scorelnformation[i].getDatabasescore()>=82)
{
if(Scorelnformation[i].getDatabasescore()>=90)
{
sjkjidian=4.0;
}
else
{
if(Scorelnformation[i].getDatabasescore()>=85)
{
sjkjidian=3.7;
}
else
{
sjkjidian=3.3;
}
}
}
else
{
if(Scorelnformation[i].getDatabasescore()>=78)
{
sjkjidian=3.0;
}
else
{
sjkjidian=2.7;
}
}
}
else
{
if(Scorelnformation[i].getDatabasescore()>=68)
{
if(Scorelnformation[i].getDatabasescore()>=72)
{
sjkjidian=2.3;
}
else
{
sjkjidian=2.0;
}
}
else
{
if(Scorelnformation[i].getDatabasescore()>=64)
{
if(Scorelnformation[i].getDatabasescore()>=66)
{
sjkjidian=1.7;
}
else
{
sjkjidian=1.5;
}
}
else
{
if(Scorelnformation[i].getDatabasescore()>=60)
{
sjkjidian=1.0;
}
else
{
sjkjidian=0.0;
}}
}}
double rgjd;
if(Scorelnformation[i].getSoftwarescore()>=75)
{
if(Scorelnformation[i].getSoftwarescore()>=82)
{
if(Scorelnformation[i].getSoftwarescore()>=90)
{
rgjd=4.0;
}
else
{
if(Scorelnformation[i].getSoftwarescore()>=85)
{
rgjd=3.7;
}
else
{
rgjd=3.3;
}
}
}
else
{
if(Scorelnformation[i].getSoftwarescore()>=78)
{
rgjd=3.0;
}
else
{
rgjd=2.7;
}
}
}
else
{
if(Scorelnformation[i].getSoftwarescore()>=68)
{
if(Scorelnformation[i].getSoftwarescore()>=72)
{
rgjd=2.3;
}
else
{
rgjd=2.0;
}
}
else
{
if(Scorelnformation[i].getSoftwarescore()>=64)
{
if(Scorelnformation[i].getSoftwarescore()>=66)
{
rgjd=1.7;
}
else
{
rgjd=1.5;
}
}
else
{
if(Scorelnformation[i].getSoftwarescore()>=60)
{
rgjd=1.0;
}
else
{
rgjd=0.0;
}}
}}
double v;
v=(gaoshujidian+yingyujidian+jsjjidian+sjkjidian+rgjd)/5;
System.out.println("******************************");
System.out.println("学生学号");
System.out.println(Scorelnformation[i].getStunumber());
System.out.println("学生姓名\n");
System.out.println(Scorelnformation[i].getName());
System.out.println("高等数学成绩绩点\n");
System.out.println(gaoshujidian);
System.out.println("大学英语成绩绩点\n");
System.out.println(yingyujidian);
System.out.println("计算机网络成绩绩点\n");
System.out.println(jsjjidian);
System.out.println("数据库成绩绩点\n");
System.out.println(sjkjidian);
System.out.println("软件工程成绩绩点\n");
System.out.println(rgjd);
System.out.println("你的平均成绩绩点为\n");
System.out.println(v);
if(v>=2){
System.out.println("你的学分绩点已达到毕业要求\n");
}
if(v<2){
System.out.println("你的学分绩点不满足毕业要求");
}
System.out.println(" 已录入完毕,是否提交(1是/2否)");
System.out.println("***********************************************************");
int h=in.nextInt();
if(h==1)
{
System.out.println("******************************\n");
System.out.println("******************************\n");
System.out.println(" 石家庄铁道大学软件工程系");
System.out.println(" 学生学籍管理系统2019版");
System.out.println("******************************\n");
System.out.println(" 1.学生考试成绩录入\n");
System.out.println(" 2.学生考试成绩修改\n");
System.out.println(" 3.计算学生成绩绩点\n");
System.out.println(" 4.退出学籍管理系统\n");
System.out.println("******************************\n");
}
}
}}}
public static void jieshu(){
int m=in.nextInt();
if(m==4){
System.out.println("******************************\n");
System.out.println(" 谢谢使用石家庄铁道大学软件工程系学生学籍管理系统2019版\n");
System.out.println(" 制作人:闫彦霖");
System.out.println("******************************\n");
System.exit(1);
}
}
public static void main(String[] args) throws IOException {
{
System.out.println("******************************\n");
System.out.println("******************************\n");
System.out.println(" 石家庄铁道大学软件工程系");
System.out.println(" 学生学籍管理系统2019版");
System.out.println("******************************\n");
System.out.println(" 1.学生考试成绩录入\n");
System.out.println(" 2.学生考试成绩修改\n");
System.out.println(" 3.计算学生成绩绩点\n");
System.out.println(" 4.退出学籍管理系统\n");
System.out.println("******************************\n");
int num=5;
switch(num){
case 1:
luru();
break;
case 2:
xiugai();
break;
case 3:
jidian();
break;
case 4:
jieshu();
break;
default:
break;
}
xitong.luru();
xitong.jieshu();
xitong.xiugai();
xitong.jidian();
}
}
}修改功能存在bug,有时正常有时不正常,找不出来
学籍管理系统 java_Java学籍管理系统相关推荐
- 校友管理系统 java_JAVA同学录管理系统的设计(SQL)
同学录管理系统的设计(SQL)(任务书,外文翻译,毕业论文14000字,程序代码,SQLserver数据库,答辩PPT) 摘 要 互联网技术的出现促进了21世纪科技信息的飞速发展,当今在政治.科研.金 ...
- 车票管理系统java_JAVA车票管理系统(简单GUI).docx
JAVA车票管理系统(简单GUI) JAVA程序设计报告需求分析1.设计题目:车票管理系统用JAVA语言和数据结构知识设计设计车票管理系统.要求如下所述:一车站每天有n个发车班次,每个班次都有一个班次 ...
- 学籍(档案)管理系统的开发
学籍(档案)管理系统的开发 1.在eclipse中创建一个项目SMS,建立User(用户)类.DataProcessing(数据处理)类和Main类,再建立管理员(Administrator)和学生( ...
- java ee学生信息管理_基于jsp的学籍学生信息信息管理系统-JavaEE实现学籍学生信息信息管理系统 - java项目源码...
基于jsp+servlet+pojo+mysql实现一个javaee/javaweb的学籍学生信息信息管理系统, 该项目可用各类java课程设计大作业中, 学籍学生信息信息管理系统的系统架构分为前后台 ...
- 新开普自助查询 单点登录 php,综合教务管理系统,高校教务管理系统,教务管理系统 - 新开普(NewCapec)...
教务管理系统 实施数字化校园下的一卡通系统,为客户提供全面的信息化解决方案,保护客户原有系统投资,需要接入许多第三方应用系统,如图书馆管理系统.教务管理系统.学校医疗管理系统.网络计费系统.资产管理系 ...
- 运动会管理系统php,运动会管理系统源代码.doc
运动会管理系统源代码 运动会管理系统源代码include#include#includestruct student /* 定义链表 */{long num;char name[10];char da ...
- C语言编写工资管理系统类似学生管理系统
C语言编写工资管理系统类似学生管理系统 开始界面和菜单界面B void start() //开始界面 {system("cls");//清屏 system("color ...
- 宾馆管理系统mysql_宾馆管理系统(含源码和数据库文件)
[实例简介] 因毕业设计而开发的一个C/S模式下的宾馆管理系统.开发环境为VS2010,SQL2005,开发语言为C#.资源中包含源代码和数据库文件(sql2005的mdf数据库文件).使用时需要安装 ...
- Axure高保真学校后台管理作品管理教师管理资源审核学生管理家长管理权限管理资源管理web端后台模板管理教师审核统计分析教育后台管理系统学校后台管理系统校园后台管理系统
作品介绍:Axure高保真学校后台管理&作品管理&教师管理&资源审核&学生管理&家长管理&权限管理&资源管理&web端后台模板管理&am ...
最新文章
- 并发编程-08安全发布对象之发布与逸出
- 图片加载框架Glide的简单使用
- BOOST_LOCAL_FUNCTION宏用法的测试程序
- php’s fopen() 函数
- 【空间数据库技术】ArcSDE 10.1安装配置与企业级地理空间数据库的建立及连接
- Docker Compose学习之docker-compose.yml编写规则 及 实战案例
- “The server requested authentication method unknown to the client.”的解决方案
- C++ 前向声明(转载)
- 程序员眼中的统计学(3)】概率计算:把握机会
- 使用jQuery的load方法实现div局部刷新
- jBPM工作流 之JBPM4
- HTML5电子书阅读器
- win7下crtl+scroll会触发蓝屏重启(滑稽脸)
- 计算机一级用写在简历里面吗,写简历要小心,简历填写最忌讳的是什么,你知道吗?...
- 即时通讯软件会取代电子邮件吗?
- 我花三个月看了200G×××教程,领悟了你的×××为什么不赚钱!
- 将雅虎《心香一脉》每天推荐的文章发到咱邮箱(Java版)
- 单因素模糊评价matlab,模糊综合评判matlab源程序
- 【Golang开发面经】字节跳动(三轮技术面)
- 七牛云刷新缓存(cdn刷新)
热门文章
- BZOJ4398: 福慧双修【二进制分组+最短路】
- Maya 保存为ma格式时出错
- php 不能直接访问数据库,PHP能不能像访问呢数据库那样访问Excel?
- 起先于心血来潮的linux学习...
- 已解决:检测到 #include 错误。请更新 includePath。已为此翻译单元(D:\Study\hello.cpp)禁用波形曲线。C/C++(1696)
- node安装以及nvm管理node版本
- 关于Python的import循环嵌套问题、模块的__name__属性的一些实验结果与心得
- 浙大计算机专业博士后,博士后 - 浙江大学系统医学研究中心
- 【观点】996.ICU 会带来实质性的改变吗?
- 不能再让服务这么任性的被访问啦---分布式服务熔断降级限流利器至Hystrix