Code:
#include <iostream> #include<string> using namespace std; int main() { int rows; int cols; char wall; do { cout << "Please enter how many rows: "; cin >> rows; } while(rows <10); string map[rows]; do { cout << "Please
#include <iostream> #include<string> using namespace std; int main() { int rows; int cols; char wall; do { cout << "Please enter how many rows: "; cin >> rows; } while(rows <10); string map[rows]; do { cout << "Please
#include <iostream> #include<string> using namespace std; int main() { //string sym; int x, y; int rows; int cols; do { cout << "Please enter how many rows: "; cin >> rows; } while(rows <10); do { cout << "Please enter how many column: "; cin >>
Leave a comment: