pseudocode - Something similar? -
i'm in first year , have problems in new programming language invented teacher similar java
the problem is: write programme asks user come in number. repeatedly display message "hello" twice number of times number entered. if entered 3 should print "hello" 6 times.
so far did this:
get number set p=number*2 p=1 100 repeat display "hello" until number !=p endfor
what doing wrong ?
get number set p=number*2 i=1 p display "hello" endfor
pseudocode
No comments:
Post a Comment