import java.util.Scanner;
public class JavaProject {
public static void main (String args[]){
Scanner a = new Scanner(System.in);
double weight = 0;
double height = 0;
double StandardWeight = 0;
String name = a.next();
weight = a.nextDouble();
height = a.nextDouble();
StandardWeight = a.nextDouble();
StandardWeight = (height/100)*(height/100)*22;
System.out.println("이름,키(cm),체중(kg)을 입력하세요");
System.out.println(name +"님의 키는"+height+"cm이고 체중은"+weight+"kg입니다");
if(StandardWeight System.out.println("표준체중은"+StandardWeight+"이므로 표준체중보다"+(weight-StandardWeight)+ "kg 과체중 입니다" );
}
else{
System.out.println("표중체중은"+StandardWeight+"이므로 표준체중보다"+(StandardWeight-weight)+"kg 과체중 입니다");
}
}
}
저 Scanner a 쪽에서 a is never closed 이렇게 뜨네요 계속