Question: in Java please You will create program that asks the computer user for a String x and an Integer y. 1. The purpose of these

 in Java please You will create program that asks the computer

in Java please

You will create program that asks the computer user for a String x and an Integer y. 1. The purpose of these 2 objects is to recursively print out x, y number of times. You will create your first recursive method and call it 'printAmount where it will take String x and Integer y as parameters. Create a base case and a recursive case. Output: Hello wwwwwwwww Hello Hello Hello 2. The next recursive method will take the Integer y and print out all the numbers from y all the way to 0. This method will be called 'countDown' and it will only take Integer y as a parameter. Output: Hello Hello Hello Hello 3. 10 WWWWWWWWWWW

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!