I don't know how do get the rows can you help me please :(
[code=cpp]#include<iostre am>
#include<string >
using namespace std;
int rows;
int cols;
string sym;
int count;
cout << "Please enter a symbol to be display: ";
cin >> sym;
do
{
cout << "\tPlease enter how many colunms to create: ";
cin >> cols;
cout << "\n\n\n";
}
while(cols < 10);
for (count = 1; count <= cols; count++)
cout << "\n\t\t" << sym;
cin.ignore();
return 0;
}[/code]
[code=cpp]#include<iostre am>
#include<string >
using namespace std;
int rows;
int cols;
string sym;
int count;
cout << "Please enter a symbol to be display: ";
cin >> sym;
do
{
cout << "\tPlease enter how many colunms to create: ";
cin >> cols;
cout << "\n\n\n";
}
while(cols < 10);
for (count = 1; count <= cols; count++)
cout << "\n\t\t" << sym;
cin.ignore();
return 0;
}[/code]
Comment