Question: Accepts the full path to lifts.txt on the computer as user input. o The program should prompt the user for a path until: the file
Accepts the full path to "lifts.txt" on the computer as user input. o The program should prompt the user for a path until: the file is successfully opened the user types "EXIT" the program should abort if this option is used o Each line of "lifts.txt should contain the following information: contestant name (up to 10 characters long) weight contestant lifted number of repetitions ("reps") performed for each set Uses nested loops to perform the following: number of warriors participating in the contest number of sets performed per contestant total number of reps executed by each contestant o Calculate average weight lifted by all contestants average work performed by all contestants average reps performed by all contestants o Ascertain which contestants have the most strength (highest weight lifted) endurance (most reps performed) capacity (most work performed, work total reps weight) Output all of the above information. please Use C language thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
