0

Creating Java Patterns

I am to make a java program that makes patterns according to user's input: Where the patterns are: num1: # num2: \ num3: / num4: _ My expected program would be: Input: 3 3 2 1 Output: # # # \ \ \ / /_ My problem is that when I run my program, this is what appears: Input: 3 3 2 1 Output: # # # \ \ \ / /_ Can you help me fix this code? The problem is mainly on num3. Below is the code that was made by me and Emma: https://code.sololearn.com/ce9CMYBll1vR/?ref=app

19th Jun 2021, 10:37 AM
Eka
Eka - avatar
1 Resposta
+ 4
Eka code updated to be working with any input ^^ https://code.sololearn.com/cQn4du4YouM1/?ref=app
19th Jun 2021, 10:51 AM
visph
visph - avatar