Question: Write JAVA program that reads a number between 1 and 9, then the program shall display the multiplication table for that number from 1

Write JAVA program that reads a number between 1 and 9, then 

Write JAVA program that reads a number between 1 and 9, then the program shall display the multiplication table for that number from 1 to 9. For example, if the user inserts number 3, your program should display the output as shown. **The program shall display an error message if the user inserts a number not between 1 and 9 inclusive. REQUIRED OUTPUT 1 * 3 = 3 2*3=6 3* = 9 4 * 3 = 12 3 = 15 3 18 3 = 21 5 6 7 3 = 24 93 = 27 8

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 Programming Questions!