Error in running code

I have been experienceing some eeor while running my code please help me with this code

solution -:https://ide.codingblocks.com/s/671723
question - https://hack.codingblocks.com/app/practice/2/1012/problem

hi @ridhimankumar19_2a2404cbceb4b08d write the display function buddy u r missing it

Sir can you make out some corrections in my code as I didn’t understand what were you saying?

hi @ridhimankumar19_2a2404cbceb4b08d updated