I have been teaching myself c++ for a few weeks now and searched for some beginner projects to do. I decided to add on to one of them and make an inverse asterisk triangle. Basically since i'v only been programing for a little while I would like some suggestions on how to simplify such a program here is the code:
#include <iostream>
#include <string>
using namespace std;
int main()
{
cout << "Enter number of '*' at top of triangle: ";
cout << endl;