import java.io.*;

public class t1124 {
 public static void main(String args[])throws Exception{
  BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
 
  String number="4020Q090",name="李依靜",pro="程設",chi="國文",eng="英文",man="管數",sta="會計";
int procredit=3,chicredit=3,engcredit=2,mancredit=3,stacredit=3;

int proscore,chiscore,engscore,manscore,stascore;

System.out.println("請輸入成績");
proscore=Integer.parseInt(br.readLine());
System.out.println("請輸入成績");
chiscore=Integer.parseInt(br.readLine());
System.out.println("請輸入成績");
engscore=Integer.parseInt(br.readLine());
System.out.println("請輸入成績");
manscore=Integer.parseInt(br.readLine());
System.out.println("請輸入成績");
stascore=Integer.parseInt(br.readLine());

int data[]= {proscore,chiscore,engscore,manscore,stascore};


int total=0;

for(int i=50;i<100;i=i+10){
 total=total+i;
}

System.out.println("total="+total);


 

  System.out.println("學號: "+number + " 姓名: "+name);
  System.out.println("科目名稱: "+pro+"\t"+chi+"\t"+eng+"\t"+man+"\t"+sta);
  System.out.println("學分數: "+"\t"+"\""+procredit+"\""+"\t"+"\""+chicredit+"\""+"\t"+"\""+engcredit+"\""+"\t"+"\""+mancredit+"\""+"\t"+"\""+stacredit+"\"");
  System.out.println("成績: "+"\t"+proscore+"\t"+chiscore+"\t"+engscore+"\t"+manscore+"\t"+stascore);
 
 

     
 }

}

 

 ---

 

 

 

 

arrow
arrow
    全站熱搜

    玥君 發表在 痞客邦 留言(0) 人氣()