Can anyone help me with this problem following the directions given below..... P
ID: 3537595 • Letter: C
Question
Can anyone help me with this problem following the directions given below.....
Program 5
Write a C++ program using arrays that will;
Read in data from a data file of ten(10) records, using these records in a .dat file
Derrick 12.34 1990
Alvin 23.45 2012
Raymond 34.56 1951
J'Dai 45.67 2005
Burnell 56.78 1999
Thaddues 67.89 1989
Paige 78.90 2007
Ashley 89.01 2003
Korey 90.12 1965
Dex 10.01 2013
Print the original data,
Using the Bubble Sort algorithm, sort the data by year,
Print the sorted data,
Then, prompt the user to enter a year,
Use the Linear Search algorithm to find the record with that year
Then, display the found record, if record not found, print %u201CNot
Found%u201D.
NOTE: Use functions for your output, sort and search routines.
Explanation / Answer
#include #include #include float total_marks(float []); main() { clrscr(); float marks[10][4]={0}; coutRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.