diff --git a/bin/App.class b/bin/App.class index baa6c67..360beb0 100644 Binary files a/bin/App.class and b/bin/App.class differ diff --git a/src/App.java b/src/App.java index 0a839f9..00199e5 100644 --- a/src/App.java +++ b/src/App.java @@ -1,5 +1,26 @@ +import java.util.*;; public class App { public static void main(String[] args) throws Exception { - System.out.println("Hello, World!"); + Scanner input = new Scanner(System.in); + + System.out.println("Enter the first Number"); + int a = input.nextInt(); + + System.out.println("Enter the second number"); + int b = input.nextInt(); + + if(a>b){ + System.out.println("The maximum number is:" + a); + } + + else if(a