I need help in making for example 4 rows with 5 columns in each row. Any help with this?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
i dont know if you can find this useful its the basic way
#include <iostream.h>
int main (int argc, char * const argv[]) {
const int rows =4;
const int colo =5;
for (int r=0; r <rows; r++) {
for (int c=0; c <colo; c++) {
cout << “|-h-| |-h-| |-h-| |-h-| |-h-|”
<< endl;
break;
}
}
return 0;
}