Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ Programming: Enter the number of rows (max 99): 10 Enter the number of cols (max 99): 20 Enter an interior character: | Enter an
C++ Programming: Enter the number of rows (max 99): 10 Enter the number of cols (max 99): 20 Enter an interior character: | Enter an exterior character: + + + + + + + + + + + + + + + + + + + + + + | | | | | | | | | | | | | | | | | | + + | | | | | | | | | | | | | | | | | | + + | | | | | | | | | | | | | | | | | | + + | | | | | | | | | | | | | | | | | | + + | | | | | | | | | | | | | | | | | | + + | | | | | | | | | | | | | | | | | | + + | | | | | | | | | | | | | | | | | | + + | | | | | | | | | | | | | | | | | | + + + + + + + + + + + + + + + + + + + + +
My answers not even close! :o
Please don't use bool status, for, break statements...this is very simple programming (ha! So they say) (1st year).
#include #include using namespace std;
int main(){ int row[10]; int col[20]; int size; cout<<"Enter size: "; cin>>size; cout< while (row < size) { col=0; while (col <= row) { cout<<"+"; col=col+1; } row=row+1; cout<<"|"< } return 0; }
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started