Why my code isnt running? Error: symbol not found
System.out.println(" CURRENCY CONVERTOR "); Scanner sc = new Scanner(System.in); System.out.println(" ENTER THE CURRENCY YOU WANT TO CONVERT"); System.out.println(); String currency1 = sc.nextLine(); System.out.println(" ENTER THE CURRENCY YOU WANT TO CONVERT TO "); String currency2 = sc.nextLine(); System.out.println(); if(currency1==DOLLAR && currency2==RUPPEE){ float x=sc.nextFloat(); float y= x*82; System.out.println(y); } else if(currency1==RUPPEE && currency2==DOLLAR){ float x=sc.nextFloat(); float y=x/82; System.out.println(y); } else if(currency1==POND && currency2==RUPPEE){ float x=sc.nextFloat(); float y=x*99; System.out.println(y); }