Question: Java language needed! One assignment illustrated in 3 steps! I have posted the template code to start with. 4.12 LAB: Multiplication Tables This program prints

Java language needed!

One assignment illustrated in 3 steps!

I have posted the template code to start with.

Java language needed! One assignment illustrated in 3 steps! I have postedthe template code to start with. 4.12 LAB: Multiplication Tables This programprints out the first ten lines of a multiplication table of thenumber 5. Example output: 5 x 1 = 5 5 x 2

4.12 LAB: Multiplication Tables This program prints out the first ten lines of a multiplication table of the number 5. Example output: 5 x 1 = 5 5 x 2 = 10 5 x 5 = 5 x 6 = 30 6 5 x 7 = 35 5 x 8 = 40 5 x 9 = 45 5 x 10 = 50 (1) Modify the program so the user chooses the number to multiply. (3 pts) Example output if the user enters 7. Enter a number: 7 x 1 = 7 7 x 2 = 14 3 = 21 7 x vou 7 = 49 7 x 8 = 56 7 x 9 = 63 7 x 10 = 70 (2) Extend the program so the user chooses how many lines of the table to display. This will generate a second table (3 pts) Example output if the user enters 7 and 6 Enter a number: x 1 = 7 2 = 14 x 6 = 42 = 49 7 x 8 = 56 7 x 9 = 63 7 x 10 = 70 Enter the number of rows to display: 7 x 1 = 7 x 2 = 14 7 x 3 = 21 a una w 7 x 5 = 35 7 x 6 = 42 (3) Extend the program so the second table is displayed backwards. Leave a blank line between the tables. (4 pts) Example output if the user enters 7 and 6. Enter a number: 7 x 1 = 7 7 x 2 = 14 00 0) 7 x 6 = 42 7 x 7 7 x 8 = 56 7 x 9 = 63 7 x 10 = 70 Enter the number of rows to display: 7 7 x 7 x 1 2 = = 7 x 6 = 7 x 6 = 42 7 x 5 = 35 NN wa ua a una w 7 x 3 7 x 2 = 14 7 x 1 = LAB ACTIVITY 4.12.1: LAB: Multiplication Tables 0/10 Sequence.java Load default template... import java.util.Scanner; public class Sequence { public static void main(String[] args) { Scanner scnr = new Scanner(System.in); int num = 5; for (int counter = 1; counter

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!