Answer:
Step-by-step explanation:
#include <iostream>
using std::cout;
using std::endl;
using std::cin;
int main()
{
int side, rowPosition, size;
cout << "Enter the square side: ";
cin >> side;
size = side;
while ( side > 0 ) {
rowPosition = size;
while ( rowPosition > 0 )
if ( size == side
cout << '\\';
--side;
}
cout << endl;
return 0;
}