So I'm trying to do something like this:
std::cout << "*" << std::endl;
std::cout << "**" << std::endl;
std::cout << "***" << std::endl;
std::cout << "****" << std::endl;
std::cout << "*****" << std::endl;
Instead of doing it 5 times, can I just do a range function to cout
rows that add up?
So if want it to be 50 "*"
signs.
So basically starting at 1 *
all the way to printing out "*"++
once it hits the 50th row.
then I want to do it easier without doing cout so many times.
if you understand my horrible explanation please give your idea.