Question: In C. the code has to match each sample imput and output. thanks sample input 1 sample output 1 sample input 2 sample output 2
sample input 1
sample output 1
sample input 2
sample output 2RGGGG RYWWO RYWWO RYYOO BBBB L RRR. U R |R|G|G|G|G| +-+-+-+-+-+ |R|Y|W|W|0| +-+-+-+-+-+ |R|Y|W|W|0| +-+-+-+-+-+ |R|X|Y|0|0| +-+-+-+-+-+ | |BIBIBIBI +-+-+-+-+-+ RGGGG RYWWO RYWWO RYYOO BBBb L R RR U R IRIGIG|G|G| +-+-+-+-+-+ |R||W|W101 +-+-+-+ IRIY WW101 +-+-+-+-+-+ IRIY|Y|0|0| 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|0| +-+-+-+-+-+ |R|X|Y|0|0| +-+-+-+-+-+ | |BIBIBIBI +-+-+-+-+-+ RGGGG RYWWO RYWWO RYYOO BBBb L R RR U R IRIGIG|G|G| +-+-+-+-+-+ |R||W|W101 +-+-+-+ IRIY WW101 +-+-+-+-+-+ IRIY|Y|0|0| IBIBIB|b|| Spiral
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
