Answer Posted / sreeram
BJARNEY STROUSTRUS
| Is This Answer Correct ? | 53 Yes | 6 No |
Post New Answer View All Answers
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
What is protected inheritance?
What is a class template in c++?
Why c++ is not a pure oop language?
What's the best free c++ profiler for windows?
Define upcasting.
What is a storage class?
What is an html tag?
Explain polymorphism?
What do you mean by overhead in c++?
What is the identity function in c++? How is it useful?
Describe linkages and types of linkages?
What is a wchar_t in c++?
What is pointer to member?
Can you please explain the difference between static and dynamic binding of functions?