The following code fragment reads in two numbers. What is th…
The following code fragment reads in two numbers. What is the incorrect way to enter these two numbers?Scanner input = new Scanner(System.in);int i = input.nextInt();double d = input.nextDouble();