I'm currently doing a beginners course in c++. They've asked me to write a program that asks the user for any number of lines and then writes it according to the input. After the figure is done it should ask for another number of lines. If you enter "0" the program should quit.
Here's my code so far:
so basically it keeps on looping; asking the question, answers and asks the same question again and again until the user enters "0" and quits.
Looking over my previous post I'm not even sure I made sense or even if it's remotely close to what I want to achieve.