Question: write a c program that takes the following input(shown below) and prints the following output(shown below) (sample input 1) (sample output 1) (sample input 2)

write a c program that takes the following input(shown below) and prints the following output(shown below)
write a c program that takes the following input(shown below) and prints(sample input 1)
the following output(shown below) (sample input 1) (sample output 1) (sample input(sample output 1)
2) (sample output 2) RGGGG RYWWO RYWWO RYYOO BBBB L RRR. U(sample input 2)
R |R|G|G|G|G| +-+-+-+-+-+ |R|Y|W|W|0| +-+-+-+-+-+ |R|Y|W|W|O| +-+-+-+-+-+ |R|Y|Y|0|0| +-+-+-+-+-+ | |BIBIBIBI RGGGG(sample output 2)

RGGGG RYWWO RYWWO RYYOO BBBB L RRR. U R |R|G|G|G|G| +-+-+-+-+-+ |R|Y|W|W|0| +-+-+-+-+-+ |R|Y|W|W|O| +-+-+-+-+-+ |R|Y|Y|0|0| +-+-+-+-+-+ | |BIBIBIBI RGGGG RYWWO RYWWO RYYOO BBBb L R RR U R IRIGIG|G|G| + |R||W|W101 IRIY|WW01 IRIY|Y0|0l IBIBIB|b|| Spiral! RGGGG RYWWO RYWWO RYYOO BBBB L RRR. U R |R|G|G|G|G| +-+-+-+-+-+ |R|Y|W|W|0| +-+-+-+-+-+ |R|Y|W|W|O| +-+-+-+-+-+ |R|Y|Y|0|0| +-+-+-+-+-+ | |BIBIBIBI RGGGG RYWWO RYWWO RYYOO BBBb L R RR U R IRIGIG|G|G| + |R||W|W101 IRIY|WW01 IRIY|Y0|0l IBIBIB|b|| Spiral

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!