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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started