import java.util.Scanner; // 24.04.2021 public class Ex05a { public static void main(String[] args) { // TODO Auto-generated method stub Scanner in = new Scanner(System.in); double a, b; System.out.println("Enter two numbers: "); a = in.nextDouble(); b = in.nextDouble(); if (a > b) { // true System.out.println(a); } else { // false System.out.println(b); } in.close(); } }