Question: : Develop a C program that lets a user enter only a number between 1 and 9 and display the following output . Your program
: Develop a C program that lets a user enter only a number between 1 and 9 and display the following output. Your program should make sure that a user enters only a positive number between 1 and 9. See sample code execution below.. in c code
Hint: nested loops should be used. Note: Red text is entered by the user
| Sample Code execution #1: Enter an integer between 1 and 9: 14 Enter an integer between 1 and 9: 10 Enter an integer between 1 and 9: -5 Enter an integer between 1 and 9: 0 Enter an integer between 1 and 9: 6 Enter your first initial: R R RR RRR RRRR RRRRR RRRRRR RRRRR RRRR RRR RR R
|
| Sample Code execution #2: Enter an integer between 1 and 9: 4 Enter your first initial: Q Q QQQ QQQQ QQQ Q
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
