whats wrong in this ?? getting wr..

import java.util.Scanner;
class atm{
public static void main(String[] args){
try{
Scanner s=new Scanner(System.in);
double y; int x;
System.out.println(“input”);
x=s.nextInt();
y=s.nextDouble();
if(x%5==0 && (y-0.50-x)>0){
y=y-(0.50+x);
}
System.out.println(String.format("%.2f",y));
}
catch(Exception e){}
}}

Perhaps replace “>” with “>=”