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

QQ

QQQ

QQQQ

QQQ

QQ

Q

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!