Your program will need to do the following: Each objective is worth 25 points - The output needs to be displayed correctly in the output file as listed below (1) Sum up the total amount of credits of people in the database (a) In this case the total will be: 120+90+75+100+95 = 480 (2) List the person with the most credits: (a) In this case the output will be: Jeffrey Slominsky (3) List the person with the highest GPA (a) In this case the output will be: Janet Smith (4) List the person with the lowest GPA (a) In this case it will be: Mike Jones

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Hi expert 

I need help with this assignment and coding in the C++ programming language. Pls, don't copy from any website.

Thank you!

You need to make the following file in repl, call it data.txt
Slominsky, Jeffrey,3.75,120
Smith, Janet,3,82,90
Jones,Mike,2.34,75
Ahmed,Saleah,3.21,100
Taylor, Christine,3.23,22
Your program will need to do the following: Each objective is worth 25 points - The output
needs to be displayed correctly in the output file as listed below
(1) Sum up the total amount of credits of people in the database
(a) In this case the total will be: 120+90+75+100+95 = 480
(2) List the person with the most credits:
(a) In this case the output will be: Jeffrey Slominsky
(3) List the person with the highest GPA
(a) In this case the output will be: Janet Smith
(4) List the person with the lowest GPA
(a) In this case it will be: Mike Jones
All of the above answers need to be written to a file called output.txt.
Here is the result of the file:
Sum of credits: 480
Student name
Highest GPA
Most Credits
Total credits
Lowest GPA
Slominsky, Jeffrey
Smith, Jane
Jones,Mike
Ahmed,Saleah
Taylor, Christine
Bonus: Figure out an algorithm to list the names of the people alphabetically (You'll need
an array to do this)
Example:
Saleah Ahmed
Mike Jones
Jeffrey Slominsky
Janet Smith
Christine Taylor
Transcribed Image Text:You need to make the following file in repl, call it data.txt Slominsky, Jeffrey,3.75,120 Smith, Janet,3,82,90 Jones,Mike,2.34,75 Ahmed,Saleah,3.21,100 Taylor, Christine,3.23,22 Your program will need to do the following: Each objective is worth 25 points - The output needs to be displayed correctly in the output file as listed below (1) Sum up the total amount of credits of people in the database (a) In this case the total will be: 120+90+75+100+95 = 480 (2) List the person with the most credits: (a) In this case the output will be: Jeffrey Slominsky (3) List the person with the highest GPA (a) In this case the output will be: Janet Smith (4) List the person with the lowest GPA (a) In this case it will be: Mike Jones All of the above answers need to be written to a file called output.txt. Here is the result of the file: Sum of credits: 480 Student name Highest GPA Most Credits Total credits Lowest GPA Slominsky, Jeffrey Smith, Jane Jones,Mike Ahmed,Saleah Taylor, Christine Bonus: Figure out an algorithm to list the names of the people alphabetically (You'll need an array to do this) Example: Saleah Ahmed Mike Jones Jeffrey Slominsky Janet Smith Christine Taylor
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Hiring Problem
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education