이것의 오류가 뭘까용??
한별나라
class human {
double height, weight, result;
human (double h, double w, double r){
height = h;
weight = w;
result = r;
}
public static double re (result r){
return (w/(h-100)*0.9)*100 ;
}
}
class Fatest{
public static void main (String args[])throws IOException{
BufferedReader input=
new BufferedReader(new InputStreamReader(System.in));
double h, w, r;
while(true){
System.out.print(put your height);
h = Integer.parseInt(input.readLine());
System.out.print(put your weight);
w = Integer.parseInt(input.readLine());
result r1 = new result();
r1 = r1.re(r1);
System.out.println(result is+r1+);
}
}
}
-
히메
직접짜신게 아닌가보네요.
어디가 잘못됐다기 보다 첨부터 한번 다시 보시는게
cannot find symbol 이 많이 나오네요. 첨부터 의도가 뭔지 모르지만
다시 생각하며 보시는게 어떨까요 100번을 생각하고 내부 메모리 구조 그리며 보면 다 알게 될껄요. -
풋내
어떤 오류가 어디에서 났는지 알려줘야 답변을 달죠;;
답변자가 직접 돌려보시기를 원하십니까?