Page 1 of 1

This is a C++ coding language Assignment 5: Looping Your goal is to take in data from the user, write equations, and use

Posted: Mon Jul 11, 2022 9:55 am
by answerhappygod
This is a C++ coding language
Assignment 5: Looping
Your goal is to take in data from the user, write equations, anduse loops for validation and output.
Ask the user for a number between 1-10. Validate if this numberis correct using a loop. Ask the user for another number between1-10. Validate if this number is correct using a loop. Multiply the2 numbers from the user together and use this number in a loop toexecute that many times. Inside the loop you should print yourname.
Example output:
Enter a number (between 1 and 10): 3
Enter a number (between 1 and 10): 2
First Last nameFirst Last nameFirst Last nameFirst Last nameFirst Last nameFirst Last name