A marathon is a long distance race with an official distance of 42.195 km usually run as a road race or footrace.
A local marathon was organised at Bavdhan,pune. The distance actually covered by the participants has been recorded in an array R[] which is an integer array holding the values in kilometres. If there are N number of participants who started running at a particular time, then the size of R is N. The participants should cover a distance more than 0.0 km to get recorded in array R[] finishing distance.d= 46
Find the maximum distance covered by 3 highest racers excluding finishers. If there are only one or two excluding finishers give their distance covered. R[] will be the input float array. Write a code input array R[] and return 3 maximum distance excluding Finishing distance d.d= 42.195 km
Answers
Answered by
0
do u want this in java c++ python...??
Similar questions