Need a C program for the following question

Printable View