Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Question Question What I have so far: (HAS TO BE DONE WITH WHILE LOOPS) #include #include using namespace std; int main(){ int rows; int cols; char c1; char c2; cout <> rows; cout << rows << endl; cout <> cols; cout << cols << endl; cout <> c1; cout << c1 << endl; cout <> c2; cout << c2 << endl; return 0; }#include #include using namespace std; int main(){ int rows; int cols; char c1; char c2; cout <> rows; cout << rows << endl; cout <> cols; cout << cols << endl; cout <> c1; cout << c1 << endl; cout <> c2; cout << c2 << endl; return 0; }

Question


What I have so far:(HAS TO BE DONE WITH WHILE

LOOPS)

#include <iostream>

#include <string>

using namespace std;

int main(){

int rows;

int cols;

char c1;

char c2; 

cout << “Enter the number of rows (max 99): “;

cin >> rows;

cout << rows << endl;

cout << “Enter the number of cols (max 99): “;

cin >> cols;

cout << cols << endl;

cout << “Enter an interior character: “;

cin >> c1;

cout << c1 << endl;

cout << “Enter an exterior character: “;

cin >> c2;

cout << c2 << endl;

return 0;

}

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"