@@ -0,0 +1,518 @@
+import java.util.Scanner;%0D%0A//https://www.codechef.com/problems/HS08TEST%0D%0Aclass ATM%0D%0A%7B%0D%0A    public static void main (String%5B%5D args)%0D%0A    %7B%0D%0A        Scanner sc = new Scanner(System.in);%0D%0A        int withdraw;%0D%0A        double balance;%0D%0A        withdraw = sc.nextInt();%0D%0A        balance = sc.nextDouble();%0D%0A        double dwithdraw = withdraw;%0D%0A        if(dwithdraw+0.5 %3E balance %7C%7C dwithdraw%255 != 0)%0D%0A            System.out.println(balance);%0D%0A        else%0D%0A            System.out.println(balance-dwithdraw-0.5);%0D%0A    %7D%0D%0A%7D

Add files via upload