Page 1 of 1

Use Visual Studio (C++)

Posted: Mon Jun 06, 2022 2:10 pm
by answerhappygod
Use Visual Studio (C++)
Use Visual Studio C 1
Use Visual Studio C 1 (23.56 KiB) Viewed 26 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