>know one responded, so i figured i will ask again
You figured wrong. Asking again is rude. Asking again in a new thread is even worse.
>why i can't print out a rectangle, triangle and diamond
The evidence suggests that you're lazy. Here's a hint: Use nested loops so that you have control over columns as well as rows.
>for the second problem
num is not an array, and array subscripts have to be integral unless you can come up with a definition of arrays where floating-point indices make sense and can sell it to ISO for standardization.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401