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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!