Code description goes here...
Disclaimer: Programs provided might not work as intended in all C compilers. Check in Turbo C before use.