#Brainstorm?
41 messages ยท Page 1 of 1 (latest)
โ This post has been reserved for your question.
Hey @last osprey! Please use
/closeor theClose Postbutton 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.
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
int value = [x,y,z]
for(int x=0;x<max_value;x++)
//for vals in vals??
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
wait do vals array?
'vals = [x,y,z] array?
the array should represent the 2 3 5 7 in the assignment
please google what pseudocode is
ok ok
what x,y,z stands for?
is it the rows and columns?
just a brainstorming assignment made by the internet i just want to practice myself
x,y,z... are for 2,3,5,7
in the assignment example
how do i make the integer to be a hashtags '#'
read my pseudo code again, i never said anything about conversion
the first for loops should loop for the max value not the length of the values
sorrryyy HAHAHAAHA
its length on java
thats max value
values.length is actually max values in my array
For taking this user input look into using a Scanner