Question
Need help writing a simple C++ code. I am competing in a Triathlon in September. The race consists of a run, followed by a kayak
Need help writing a simple C++ code. I am competing in a Triathlon in September. The race consists of a run, followed by a kayak segment, and a race back to the starting point on a bicycle. I want you to write a program that allows me to enter the time in hours, minutes and seconds for each segment( 3 sets of prompts, once for each event lots of copy and paste) and gives me a total time in hours, minutes and seconds. They come pull you off the course in 3 hours so I need to know how Im doing in training to avoid being booted off the course. The answer must be reported in hours, minutes, seconds (Ex. 2 hrs 20 min NOT 1 hr 80 min) use mod and div to get the final answer
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started