Use Visual Studio (C++)

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

Use Visual Studio (C++)

Post by answerhappygod »

Use Visual Studio (C++)
Use Visual Studio C 1
Use Visual Studio C 1 (23.56 KiB) Viewed 24 times
Write a program that prompts the user to enter the total number of rows. Your program should only accept an odd value greater than or equals to 5. In case of invalid input your program should repeatedly prompt the user for valid input. Your task is to display the following pattern on console Sample Run#1: Sample Run#2: Total Number of rows: 5 Total Number of rows: 7 1 1 357 357 97531 97531 357 3579135 9 79753 579 1
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply