Question: Please see below for java thank you, need help with the problem thanks! Complete this program, prompting the user to to enter two positive numbers
Please see below for java thank you, need help with the problem thanks!

Complete this program, prompting the user to to enter two positive numbers a and b so that a is less than b Complete the following file TwoNumbers.java 1 import java.util.Scanner; 3 public class TwoNumbers 4 5 public static void main(String[ args) Scanner in new Scanner(System.in); boolean 1 = true; // Keep prompting the user until the input is correct 7 10 12 13 14 15 16 17 18 19 20 21 System.out.println("Enter two positive integers, the first smaller than the seco System.out.print("First: "); int a = in.nextInt(); System.out.print("Second: "); int b in.nextInt(); // Only print this when the input is correct System.out.println("You entered"+a" and + b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
