188k views
4 votes
#Java
What is the solution? ​

#Java What is the solution? ​-example-1

1 Answer

4 votes

Answer:

I have answered the first part in another question of yours, but the second part is in the provided screenshot!

Step-by-step explanation:

Steps to solve this problem:

Go through all the numbers from 1 -> n1, every time you go through each of these numbers, go through all the numbers from 1 -> n2. Multiply these numbers and add them to an output string. Print each line of output.

#Java What is the solution? ​-example-1
User Singaravelan
by
4.0k points