Ask your own question, for FREE!
Engineering 7 Online
OpenStudy (dcolley):

Write a C program that scans a recorded data file (Olympic.txt) of Men’s 200 butterfly event and fill the variable mensButter declared below. Now sort the entrant in ascending order of completion time and display the entrant name, country, completion time. Display a message if this event creates a world record. The current world record time is 112.21 seconds. struct olympic{ char first[20], last[20]; char country[20]; float time; }; struct olympic mensButter[8]; Olympic.txt Takeshi Matsuda Japan 112.97 Kaio Almeida Brazil 114.71 Wu Peng China 114.35 Moss Burmeste

OpenStudy (dcolley):

Takeshi Matsuda Japan 112.97 Kaio Almeida Brazil 114.71 Wu Peng China 114.35 Moss Burmester NewZealand 114.35 Laszlo Cseh Hungary 112.70 Pawel Korzeniowski Poland 114.60 Nikolay Skvortsov Russia 115.14 Michael Phelps UnitedStates 112.03

OpenStudy (anonymous):

where are you struggling with this? Do you know how to start the program? Have you ever read a file in C? http://www.cs.bu.edu/teaching/c/file-io/intro/

OpenStudy (dcolley):

That was our first time doing in class I learn in Matlab but it seems way easier then doing it in c++

OpenStudy (anonymous):

so have you started the program?

OpenStudy (dcolley):

yea its completed now

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!