using recursion write a java code which outputs the stars inthe following patter
ID: 3619391 • Letter: U
Question
using recursion write a java code which outputs the stars inthe following pattern but it should ask the user to input anonnegative integer for stars & the number oflinesoutput should look like this : for eg if the input for stars is 3 & lines is 5then output as follows: * *** * * * ** ** * * * * ** * * * ** ** * * ** * And if for eg if the input for stars is 3 &lines is 4 then output as follows: * *** * * * ** ** * * * * ** * * * ** ** i want all the three output when the input is made.... using recursion write a java code which outputs the stars inthe following pattern but it should ask the user to input anonnegative integer for stars & the number oflines
output should look like this : for eg if the input for stars is 3 & lines is 5then output as follows: * *** * * * ** ** * * * * ** * * * ** ** * * ** * And if for eg if the input for stars is 3 &lines is 4 then output as follows: * *** * * * ** ** * * * * ** * * * ** ** * *** * * * ** ** * * * * ** * * * ** ** * *** * * * ** ** * * * * ** * * * ** ** i want all the three output when the input is made....