Question: Write a Java Program to print multiplication table. Ask user to give the number multiplicand and the range of multipliers. FORMAT and display the table
Write a Java Program to print multiplication table. Ask user to give the number multiplicand and the range of multipliers. FORMAT and display the table as output. After the output is displayed, ask the user if they want to continue with another table. If yes they need to enter a lower case y or an upper case Y, other wise to exit out press any other button.
Hint: Use Sentinel value as Loop Variable. Choose between do-while and while loop. Check for condition to be true on user input for Y or y.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
