Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~195 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for Bedo

I need help in pulling this program apart, and reformatting it to use functions that I didn't know i needed to implement until right now. * float calculate_time (4 parameters) finds the amount of hours between two times given. It should return 0 if the amount is less than 0. …

Member Avatar for jonsca
0
113
Member Avatar for Bedo

The issue is that it doesn't seem as though the code isn't getting past the 3rd if-else statement, and even if the input is correct it will say invalid times and set the values to 0. I can't tell what the problem is. [CODE]#include <iostream> #include <string> using namespace std; …

Member Avatar for WaltP
0
82