src/format.cpp
string Format::ElapsedTime(long seconds) {
  int sec = seconds % 60;
  int min = (seconds / 60) % 60;
  int hour = (seconds / 60) / 60;
  std::string out = std::to_string(hour) + ":" + std::to_string(min) + ":" +
                    std::to_string(sec);

  return out;
}
// DONE: Complete this helper function
// INPUT: Long int measuring seconds
// OUTPUT: HH:MM:SS
Complete this helper function
INPUT: Long int measuring seconds
OUTPUT: HH:MM:SS
Complete this helper function INPUT : Long int measuring seconds OUTPUT : HH : MM : SS
string Format::ElapsedTime(long seconds) {
  int sec = seconds % 60;
  int min = (seconds / 60) % 60;
  int hour = (seconds / 60) / 60;
  std::string out = std::to_string(hour) + ":" + std::to_string(min) + ":" +
                    std::to_string(sec);
  return out;
}
string Format :: ElapsedTime ( long seconds ) { int sec = seconds % 60 ; int min = ( seconds / 60 ) % 60 ; int hour = ( seconds / 60 ) / 60 ; std :: string out = std :: to_string ( hour ) + " " + std :: to_string ( min ) + " " + std :: to_string ( sec ) ; return out ; }
DONE: Complete this helper function
INPUT: Long int measuring seconds
OUTPUT: HH:MM:SS
DONE : Complete this helper function INPUT : Long int measuring seconds OUTPUT : HH : MM : SS