[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Java Loops puts you through hoops

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 17
Thread images: 1

File: BJPbook[1].jpg (46KB, 540x453px) Image search: [Google]
BJPbook[1].jpg
46KB, 540x453px
Computer science student here and I'm piss for brains stuck on this

So we need to create a loop that makes the blank spaces before the /
then the spaces after the / and the __/

Any Java programmers here able to help me out?

Email is [email protected] if that helps
>>
>>>/g/sqt
>>>/g/dpt
>>
First of all, that's a horrible description of the problem you need solved.
Second, this is not a homework help forum. Take this bullshit to some other site where it actually belongs you retard. Nobody here is going to want to help you.
>>
>>58533976
This is more math than code
Think about which index the slash appears and how you can make a sequence of those indices

Now fuck off
>>
Hope you like horse porn :^)
>>
>>58533976
hello kaizer
>>
>>58534034
>this is not a homework help forum
Yeah. This is a laugh at the faggot OP for not being able to do it forum. It helps *me* feel better too!
>>
           +------------------------------+
/ __/
/ __/__//
/ __/__/__///
/ __/__/__/__////
/ __/__/__/__/__/////
/ __/__/__/__/__/__//////
/ __/__/__/__/__/__/__///////
/ __/__/__/__/__/__/__/__////////
/ __/__/__/__/__/__/__/__/__/////////
/ __/__/__/__/__/__/__/__/__/__//////////
+------------------------------+//////////
| Building Java Programs |//////////
| Building Java Programs |////////
| Building Java Programs |//////
| Building Java Programs |////
| Building Java Programs |//
+------------------------------+


hope it helped
>>
>>58534574
whoopsy, mistake

           +------------------------------+
/ ___/
/ ___/__//
/ ___/__/__///
/ ___/__/__/__////
/ ___/__/__/__/__/////
/ ___/__/__/__/__/__//////
/ ___/__/__/__/__/__/__///////
/ ___/__/__/__/__/__/__/__////////
/ ___/__/__/__/__/__/__/__/__/////////
/___/__/__/__/__/__/__/__/__/__//////////
+------------------------------+//////////
| Building Java Programs |//////////
| Building Java Programs |////////
| Building Java Programs |//////
| Building Java Programs |////
| Building Java Programs |//
+------------------------------+


that's an ugly box btw
>>
>>58533976
why not use String.replace?
>>
>>58533976
>paying out the ass to learn near obsolete 90s tech
college in a nutshell
>>
>>58533976
This is literally the simplest thing if you take 2 seconds to think about it. Hint, it goes from 0 box...to 1 box...to 2 boxes...
>>
>>58534789
It's clearly meant to demonstrate 2d arrays.
>>
+------------------------------+
//| smargorP avaJ gnidliuB |
////| smargorP avaJ gnidliuB |
//////| smargorP avaJ gnidliuB |
////////| smargorP avaJ gnidliuB |
//////////| smargorP avaJ gnidliuB |
//////////+------------------------------+
//////////__/__/__/__/__/__/__/__/__/___/
/////////__/__/__/__/__/__/__/__/___ /
////////__/__/__/__/__/__/__/___ /
///////__/__/__/__/__/__/___ /
//////__/__/__/__/__/___ /
/////__/__/__/__/___ /
////__/__/__/___ /
///__/__/___ /
//__/___ /
/___ /
+------------------------------+
>>
>>58535076
quality shitpost
>>
>>58533976
What do you even mean you dumb faggot? If you are too stupid to even explain the problem you need help with, you are too stupid for cs. Just switch to something easier right now.
>>
>>58533976
>>58537110
Like I mean, you are a literal retard. Just try to read this:
>So we need to create a loop that makes the blank spaces before the /
then the spaces after the / and the __/
kys
Thread posts: 17
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.