CSCI 160 Assignment 4, Fall 1997 DUE: The assignment is due on or before 3am, Saturday October 25. This assignment is worth 20 objective points. Your solution will be graded on the basis of its run-time behaviour and on the clarity and simplicity of the source code. See the marking guide in ~csci160/Pex4/markingGuide. With regard to simplicity and clarity, follow the ASAP principle: as simple as possible. INSTRUCTIONS: Issue the command: cp -r ~csci160/Pex4 . to copy the assignment work directory to your account. Locate to Pex4 and use the CSCI 160 Exercise Development Utility to test, verify and submit you assignment (enter the command make help for instructions on how to use the utility). This assignment is to be completed by each student. Submit only one implementation; if you send more than one, we will discard all but the last one. The assignment identifier is CSCI 160 Pex 4 (see Course Information Sheet). Your assignment must be received before the due date and time. In addition, your e-mail must have the assignment identifier as its subject. All other methods of submission will not be accepted. You will receive no credit for an assignment submission that fails to adhere to this convention. QUESTION: Description =========== Consider the situation where you are given the number of seconds that have elapsed since midnight. Your task is to write a C++ program that will express the time in terms of hours minutes and seconds using a 12 hour clock. Sample Output ============= Run1 -=-= Enter the time in seconds 200 The time is 0:3:20 AM Run2 -=-= Enter the time in seconds 43201 The time is 12:0:1 PM Run3 -=-= Enter the time in seconds 43200 The time is 12:0:0 AM Assumptions/Restriction ======================== You may assume that the input data is an integer between 0 and 86399 inclusive. Test Set ======== see ~csci160/Pex4/tinp