C++ Creating a parking charge

Your are almost done, You have need to call functions properly in main function. Declare two variables in main function totalTime and totalChargethen call the function #include <iostream> using namespace std; int elapsed_time(int entry_time, int exit_time) { int total = 0; total = (exit_time / 100) * 60 + (exit_time % 100) – (entry_time / … Read more