I was required to make the program so that it displays the speed
I did it
when it shows the answer it shows in float and is it required but when the values are inputted in such a way that the answer is an exact numeric value then it should show the answer in int
that is the question to how to change the method or answer value
eg if the distance is same i.e. 5280 m
time in the first case is 3 min 53 sec then it should show 22.63 which it did
but when the time is 3 min and 59.83 sec it should show 22 instead of 22.00 which it actually solved
C++ programming question for conversion?
- Posted:
- 3+ months ago by devchahal...
- Topics:
- speed, display, program, question, conversion, programming, answer
Details:
Answers
No answers have yet been posted. Add your answer to this question.