Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please i need help solving this assignment this is better picture. we need to write a C++ codes for this entree using classes, arrays and

please i need help solving this assignment
image text in transcribed
this is better picture. we need to write a C++ codes for this entree using classes, arrays and friends functions. please help
image text in transcribed
image text in transcribed
i have uploaded a clearer images. please check it out and letme know if u need more information. i need to write C++ codes presenting these information
image text in transcribed
image text in transcribed
wwyobjed, please date for the pas ache line the data foaia de 1-2 cm do 21-31 14. Use the following data is your input file 9.75 NAME CLASS GPA William Land Freshman 18 Smith, Sheila Senior 1.99 Anderson, Andy Sephomores Wiser, Bud Freshman 14.00 Robertson, Jolly Jane 2.78 Koran, kom Junior BESO Smith, Sam Junior 1.14 Johnson, Jim Junior os Johnso, Jane Junior Potter, Pam Senior 1.98 Brown, Ball Sophomoss Crooks, Cathy Freshman 19 Gregs. Howard Senior 1:44 Nicholas, Judy Senior 1.69 White, Bebe Sophomore 1.64 Walsh, Fred Junior 14.00 Denni. San Senior 2.06 Roberts, Rachel Sophomore 4.00 Fredericks, Mary Freshman 19 Holines, Wendy Senior 236 Edwards, James Sephone.00 Green, Barbara Sephone 67 Brown, David Fresh 5.00 We wsphone.de Cars, Jim sophomor203 Modus we wo for Print out the following: A. The sorted master list with the average GPA of the entire college B. The freshman list with the average GPA of the freshmen. C. The sophomore list with the average GPA of the sophomores. D. The junior list with the average GPA of the juniors. E. The senior list with the average GPA of the seniors. Make sure that you echo the data and your output looks good Using an array of objects, implement an object-oriented student database for the given data. Each line in the data file should contain a student's name in col. 1-20, class standing in col. 21-30, and GPA in col. 31. 34. Use the following data in your input file. NAME CLASS GPA Williams, Leonard Freshman 1.85 Smith, Sheila Senior 2.99 Anderson, Andy Sophomore 3.01 Wiser, Bud Freshman 4.00 Robertson, Jully Junior 2.78 Koran, Korn Junior |3.50 Smith, Sam Junior 2.14 Johnson, Jim Junior 3.05 Johnson, Jane Junior 3.75 Potter, Pam Senior 2.98 Brown, Bill Sophomore 2.55 Crooks, Cathy Freshman 1.99 Gregg, Howard Senior 2.44 Nicholas, Judy Senior (3.69 White, Bob Sophomore 1.64 Walsh, Fred Junior 4.00 Dennis, Susan Senior 2.06 Roberts, Rachel Sophomore 4.00 Fredericks, Mary Freshman 2.89 Holmes, Wendy Senior |2.56 Edwards, James Sophomore 3.00 Green, Barbara Sophomore 3.67 Brown, David Freshman 2.00 Williamson, Walt Sophomore 2.95 Carson, Jim Sophomore 2.03 Your program should be able to read from a file the above data into an one-dimensional array and sort it by the student's name in an ascending order. And also the record office would like to have a sorted class list for each class, freshman, sophomore, junior, and senior. (use an array of objects of a class). Send the output to a file. Use overload i/o operators, Print out the following: A. The sorted master list with the average GPA of the entire college. B. The freshman list with the average GPA of the freshmen. C. The sophomore list with the average GPA of the sophomores. D. The junior list with the average GPA of the juniors. E. The senior list with the average GPA of the seniors. Make sure that you echo the data and your output looks good. Using an array of objects, implement an object-oriented student database for the given data. Each line in the data file should contain a student's name in col. 1-20, class standing in col. 21-30, and GPA in col. 31- 34. Use the following data in your input file. NAME CLASS GPA Williams, Leonard Freshman 1.85 Smith, Sheila Senior 2.99 Anderson, Andy Sophomore 3.01 Wiser, Bud Freshman 14.00 Robertson, Jully Junior 12.78 Koran, Korn Junior 3.50 Smith, Sam Junior 2.14 Johnson, Jim Junior 3.05 Johnson, Jane Junior 3.75 Potter, Pam Senior 2.98 Brown, Bill Sophomore 2.55 Crooks, Cathy Freshman (1.99 Gregg, Howard Senior 2.44 Nicholas, Judy Senior 3.69 White, Bob Sophomore 1.64 Walsh, Fred Junior 4.00 Dennis, Susan Senior 2.06 Roberts, Rachel Sophomore 4.00 Fredericks, Mary Freshman 2.89 Holmes, Wendy Senior 12.56 Green, Barbara Sophomore 3.67 Brown, David Freshman 2.00 Williamson, Walt Sophomore 2.95 Carson, Jim Sophomore 2.03 Your program should be able to read from a file the above data into an one-dimensional array and sort it by the student's name in an ascending order. And also the record office would like to have a sorted class list for each class, freshman, sophomore, junior, and senior. (use an array of objects of a class). Send the output to a file. Use overload i/o operators. Print out the following: A. The sorted master list with the average GPA of the entire college. B. The freshman list with the average GPA of the freshmen. C. The sophomore list with the average GPA of the sophomores. D. The junior list with the average GPA of the juniors. E. The senior list with the average GPA of the seniors. Make sure that you echo the data and your output looks good

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions

Question

=+ 7. The Fed is considering two alternative monetary policies:

Answered: 1 week ago

Question

How does clustering in unsupervised learning help in data analysis?

Answered: 1 week ago

Question

7. How do you currently develop your leaders?

Answered: 1 week ago