Question: This question is related to java program that reads from keyboard 2 integer numbers, with proper input prompt. If one of these 2 numbers is
This question is related to java program that reads from keyboard 2 integer numbers, with proper input prompt. If one of these 2 numbers is exactly twice or three times as much as the other number, then display "Bingo", followed by the display of the relationship between the 2 numbers. Otherwise, display "Game failed".
Enter the first integer: 5
Enter the second integer: 15
Bingo: 15 is three times as much as 5.

This question is related to java program that reads from keyboard 2 integer numbers, with proper input prompt. If one of these 2 numbers is exactly twice or three times as much as the other number, then display "Bingo", followed by the display of the relationship between the 2 numbers. Otherwise, display "Game failed". Enter the first integer: 5 Enter the second integer: 15 Bingo: 15 is three times as much as 5.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
