Question: Write a program that takes in string x and string y from the user as arguments and then prints x 4 times, followed by y

Write a program that takes in string x and string y from the user as arguments and then prints x 4 times, followed by y 9 times using loops.
Requirements
You must include a for and a while loop in your code.
You must include two and only two System.out.println statement in your code.
Write a program that takes in string x and string y from the user as arguments and then prints x 4 times, followed by y 9 times using loops.
Requirements
You must include a for and a while loop in your code.
You must include two and only two System.out.println statement in your code.

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!