Unformatted text preview: The function should “cout” the results . Use a prototype and a separate implementation when coding the convert_from_minutes() function. Use the Conditional (Ternary) Operator to spell hour(s) and minute(s) properly. For instance if the result is 1, spell 1 minute (or 1 hour), and if the result is 4, then spell 4 minutes (or 4 hours)… You'll get 1 point for this assignment and it is due Tuesday September 28 th . In addition to this lab, also review the Word document “Session 4” that has been posted to the website. Please refer to our textbook, chapter “Lesson 6” for additional information. Page 1 of 1...
View Full Document
- Fall '06
- Computer Science, Imperative programming, user input, c++ programming assignment, single integer parameter