Anonymous
public text v1 · immutable#include <iostream.h>
int main()
{
int LENGTH;
int HEIGTH;
int n = 0;
int test = LENGTH;
cout << "Length:" << endl;
cin >> LENGTH;
cout << "Height:" << endl;
cin >> HEIGTH;
while (HEIGTH > 0)
{
while (test > 0)
{
cout << n;
test = test - 1;
}
test = LENGTH;
cout << "\n";
HEIGTH = HEIGTH - 1;
}
return 0;
}