+ 2
Can anyone help me understand my assignment?
I need to make a program in c++ that takes a start time, then weather it is AM or PM, then asks for the delay hours and then the delay minutes, and then computes it. It has to display output in 12 hour format, and it has to mainly use functions. The main() function should be short.
10 Answers
+ 6
For reference, but you need to finish the tutorial, you're basicaly asking for a full program ... you may wanna take a code as is and hand it, but then if you can't explain how it runs ... check the web, stackoverflow++
+ 6
You can write a reply in this thread, then click insert = insert code, then search clock, timer etc... you'll find some other codes, other than that your question is to wide, I doubt it will be answered, get down to more specific trouble shooting and repost it, myself I don't know how to code such a program and I'm working on some other stuff. Try to post in a thread where one of the above cited clockmakers is active, good luck !
+ 3
which part do u not understand?
if u don't understand, u should re-read the problem and ask proper question at which part do u not understand
+ 3
thank you Mason
+ 3
too many questions to start with. let's pick one: Pick one function that you think you need, as simple as possible and then see whether you can divide it in two..
+ 3
e.g., ask the user am or pm? Can you write the code to do that?
+ 3
great! Please see the last code I published. meant to help, but maybe a little late ;-)
+ 1
I figured it out, but thank you all for your help. I will post the code I used after my teachers set due date has passed.
0
I do not understand what equations I should use in each function as well as I do not understand where to call what from where.