C language programme (47/48)

C language programme