Hello I am really lost with this one question I have to do for school that follows: Create an Elasped Time Calculator application that prompts the user for a starting hour, whether it is am or pm, and the number of elapsed hours. The application then displays the time after that many hours have passed. Application output should look similar to: Enter the starting hour: 7 Enter am or pm: pm Enter the number of elapsed hours: 10 The time is : 5:00am
I am a noob so I can only use if, switch while loops or for statements mostly. Nothing too advanced. Thanks! <3
Aucun commentaire:
Enregistrer un commentaire