Scanner scanner = new Scanner(System.in);
int numberA = scanner.nextInt();
int numberB = scanner.nextInt();
int main = numberA > numberB ? numberA :numberB;
System.out.println(main);
Solution
New
Comments
- Popular
- New
- Old
You must be signed in to leave a comment
This page doesn't have any comments yet