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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply