#include <iostream>
using namespace std ;
void makeRow (int howLong) ;
int main()
{
int count, lines;
cout << "How many lines would you like? ==> " ;
cin >> lines ;
cout << endl ;
count = lines;
while (count > 0)
{
makeRow(count);
count-- ;
// count -= 2 ;
}
cout << endl ;
return 0 ;
}
/* Purpose: Make one row of stars of the specified length. */
void makeRow (int howLong)
{
int column ;
for (column=1; column<=howLong; column++)
{
cout << "* " ;
}
cout << endl ;
}