Problem : Write a problem that asks a user to enter a number of seconds. The program will then use the entered number to convert it to Days, Hours, Minutes and Seconds. Then the program will spit out the information. Use symbolic constants to represent the number of hours in a day, the number of minutes in an hour, and the number of seconds in a minute.
The program seems to function but I'm not sure if I did the "symbolic constant" part correctly..
edit:
a tip: having two cin.get()s is kind of silly. If you change your code, you may need to press enter twice. You have them there because cin>> leaves a newline char in the input stream. To solve this you need to remove it. cin.ignore does that. The right way would be to #include <limits> and use cin.ignore(numeric_limits<streamsize>::max(), '\n') but if you find this very confusing a cin.ignore(/*any big number*/256, '\n') would do..