import java.io.*;
public class m080529 {
public static void main(String[] args) throws IOException
{
// TODO code application logic here
//국,영,수, ... 총점, 평균 구하기.
BufferedReader temp = new BufferedReader(new InputStreamReader(System.in));
String [] subjn = {"국어", "영어", "수학"};
int[] sub = new int [subjn.length+1];
double avg = 0.0;
for(int i = 0; i<sub.length-1; i++)
{
System.out.print(subjn[i] + " : ");
sub[i] = Integer.parseInt(temp.readLine());
if(sub[i]>100 || sub[i]<0)
{
System.out.println("잘못 된 수를 입력하셨습니다. 다시 입력 해 주세요.");
System.out.print(subjn[i]+" : ");
sub[i] = Integer.parseInt(temp.readLine());
}
}
avg =
}
}
아직 다 안했음..
미래에셋 박현주2.rar
