| purplebud (3) | |
| hello i'm trying to create a rectangle in c++ using vectors that have a menu to select the size and shape. | |
|
Last edited on
|
|
| purplebud (3) | |
|
from what i got so far I have to insert in void rectangle(char charChoice,int shapeSize) and also at the top. I'm just unsure how to use shapeSize to start writing a square ugh. i need a lifeline! | |
|
|
|
| purplebud (3) | |
|
it's telling me for needs a { and shapeSize isn't defined? i don't get it. I thought shapeSize was defined already as an int?????? void rectangle(char charChoice,int shapeSize) for(int i=0; i<(shapeSize/2); i++) { for(int j=0; j<shapeSize; j++) cout << charChoice; cout << endl; } | |
|
Last edited on
|
|