0

Someone tell me the Java code for this if the input is 4

A A A A A # # A A # # A A A A A

2nd Aug 2018, 5:12 PM
Shihab Sharar
Shihab Sharar - avatar
18 Respuestas
+ 8
Is this homework?
2nd Aug 2018, 6:12 PM
Fox
Fox - avatar
+ 3
hey Shihab Sharar i wont be able to do it in java but i'll do it in JS and see if you can convert it line by line
3rd Aug 2018, 7:50 AM
Emperor Bob
Emperor Bob - avatar
+ 2
i dont know java sorry :V
3rd Aug 2018, 3:52 AM
Emperor Bob
Emperor Bob - avatar
+ 2
im guessing it requires many /n's
3rd Aug 2018, 4:46 AM
Emperor Bob
Emperor Bob - avatar
+ 2
my first ever java program :V hope it works out well dude
3rd Aug 2018, 5:51 AM
Emperor Bob
Emperor Bob - avatar
+ 2
idk i only know web languages 😎 js is my main i think i might give this another shot using while and for loops
3rd Aug 2018, 5:55 AM
Emperor Bob
Emperor Bob - avatar
+ 2
i will good luck
3rd Aug 2018, 5:58 AM
Emperor Bob
Emperor Bob - avatar
+ 1
Na this ain't homework, exams are coming and this was included in our practice sheets provided by our teachers.
3rd Aug 2018, 4:45 AM
Shihab Sharar
Shihab Sharar - avatar
+ 1
Probably man, I don't know. Been stuck with this since yesterday, finished all the problems and waiting for someone to come up with a solution for this.
3rd Aug 2018, 4:48 AM
Shihab Sharar
Shihab Sharar - avatar
3rd Aug 2018, 5:50 AM
Emperor Bob
Emperor Bob - avatar
+ 1
LMAO, good try man. I wish it was as easy as that 🤣 we have to use conditional loops and many other things to produce an output like that. But kudos for the effort.
3rd Aug 2018, 5:52 AM
Shihab Sharar
Shihab Sharar - avatar
+ 1
oh dang idk what any of that means 😓
3rd Aug 2018, 5:52 AM
Emperor Bob
Emperor Bob - avatar
+ 1
You will once you start learning Java ;)
3rd Aug 2018, 5:53 AM
Shihab Sharar
Shihab Sharar - avatar
+ 1
i dont think im ever gonna learn java 😂 its too confusing to look at
3rd Aug 2018, 5:54 AM
Emperor Bob
Emperor Bob - avatar
+ 1
Ahahahaha, really? I thought Python was confusing
3rd Aug 2018, 5:54 AM
Shihab Sharar
Shihab Sharar - avatar
+ 1
I am gonna upload a few Java codes I wrote after my exam ends. Be sure to give them a look and also at the outputs, you will not be disappointed, trust me.
3rd Aug 2018, 5:56 AM
Shihab Sharar
Shihab Sharar - avatar
+ 1
Thankss
3rd Aug 2018, 5:58 AM
Shihab Sharar
Shihab Sharar - avatar
0
Yeah man, that could help
3rd Aug 2018, 7:56 AM
Shihab Sharar
Shihab Sharar - avatar