Do we have to code from the scratch in cpp?

Nothing is written in cpp. There is no function to complete. Do we have to code from the scratch in cpp ?

yes first you have to make a linked list using input and then you make a function to kreverse the linked list
and print the reversed ll.