Please provide me the proper solution since I am trying to do this lab exercise with the below solution to the provided question but unable to complete it

We don’t give exercise solutions, but we do offer help and answer questions. Where are you getting stuck when you attempt to solve this yourself? We need more information in order to help you.

Is the code you have so far giving you a compile-time error, or a runtime error, or unexpected runtime behavior?

1 Like