#Brainstorm?

41 messages ยท Page 1 of 1 (latest)

last osprey
#

Can anyone help to code this one for me, I dont thinks it's 2D array.

urban knotBOT
#

โŒ› This post has been reserved for your question.

Hey @last osprey! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

last osprey
#

progress

#

only scanner

slate dawn
#

do something like

vals = [x, y, z]

for x in max_value+1:
for val in vals:
if val should have a # here print one if not print a space
print a trailing space

last osprey
#

int value = [x,y,z]
for(int x=0;x<max_value;x++)
//for vals in vals??

slate dawn
#

its pseudo code

#

i won't write a java application for you here lol

#

but it should give you an idea on how to progress

last osprey
#

wait do vals array?

slate dawn
#

the array should represent the 2 3 5 7 in the assignment

#

please google what pseudocode is

last osprey
#

what x,y,z stands for?

#

is it the rows and columns?

last osprey
slate dawn
#

in the assignment example

last osprey
#

how do i make the integer to be a hashtags '#'

slate dawn
#

read my pseudo code again, i never said anything about conversion

last osprey
slate dawn
#

the first for loops should loop for the max value not the length of the values

last osprey
slate dawn
#

๐Ÿ’€

#

the max value of the values in your array

#

not the max value of integers

last osprey
#

sorrryyy HAHAHAAHA

#

its length on java

#

thats max value

#

values.length is actually max values in my array

slate dawn
#

in your array the highest value would be 7

#

thats what you want to put in there

last osprey
#

i think im dead

#

braincells dont work

#

the first?

#

is this correct?

blissful tapir