an-if-statement tag

1 questions


1 answers
361 views
0
Print all 8 patterns using the if statement

It's java. Use the if statement XOXOXO---XOXOXOX--XOXOXO-X-XOXOXO--XXOXOXOOX-XOXOXO-XOXOXOXOOXXXOXOXOXXOI want to print all eight of these, but if I enter all nine spaces with - that is, -----, how do...

1 years ago

© 2024 OneMinuteCode. All rights reserved.