I need to modify the following program so that after a correct n has been input, it prints out n times a message such as "Hello".
I am aware that I first have to make a loop that repeats until a valid number is entered by the user. Then, independent of the first loop, make a second loop that counts from 1 to N inclusive and outputs a message each time through the loop.
But I'm unsure of how I go about doing this, could someone aid me with an example if possible please?