#환전하기 ## CODE <a class='btn btn-default' href='/codes/9628'>Link</a> ``` public class Exchange{ public static void main(String[]args){ int eu = Integer.parseInt(args[0]); int us = Integer.parseInt(args[1]); double kor1 = eu * 1281.62664; double kor2 = us * 1091.70306; double total = kor1 + kor2; System.out.printf("환전결과: %.0f 원", tatal ); } } ``` ## INPUT ``` 52 32 ``` ## OUPUT ``` /root/var/tmp/2019_09_13_10_53_40_562bf9ac/Exchange.java:12: error: cannot find symbol System.out.printf("환전결과: %.0f 원", tatal ); ^ symbol: variable tatal location: class Exchange 1 error ```
# tatal 변수를 찾을 수 없습니다 자나 깨나 오타 조심! tatal(X) => total(O) ``` java:12: error: cannot find symbol symbol: variable tatal ```