Question: (this is java 2) Question 6: 1- Write a recursive method named output that take as parameter integer n, the method should print '+' n

(this is java 2)  (this is java 2) Question 6: 1- Write a recursive method

Question 6: 1- Write a recursive method named output that take as parameter integer n, the method should print '+' n times followed by '\#' n times. Do not use any loops, use only one variable n. for Example 1-ifn=2output:++## 2-ifn=4output:++++#### 2- Write a java program to ask the user to enter the positive integer (n) and call the method output to show output on the screen

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!