Computer Science Canada making diamonds |
Author: | Prince [ Fri Feb 06, 2004 10:59 am ] | ||
Post subject: | making diamonds | ||
i need help making the top part of a diamond... the purpose is to put in an odd integer (ex: 5) and it would print out a diamond... so if u put in 5 it would look like this: s***** ******* s***** ss*** sss* (the s is a space) the stuff under the line ive got, its the top im struggling on... any suggestions?
|
Author: | rizzix [ Fri Feb 06, 2004 3:32 pm ] | ||
Post subject: | |||
here's a pseudocode, that sortof works:
|