the code is

#include <stdio.h>



void main()

{