Earn Higher Grades With Instant Assignment Help.Ask Question!

Data structures & Algorithms
(5/5)

Where Designation will match a single character from the respective column in the above table, and Grade will be a percentage. 

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

An input file will contain a list of grades using the following format:

[Designation] [Grade] Where Designation will match a single character from the respective column in the above table, and Grade will be a percentage. 

 For example, Q 100 A 90 The first line shows a quiz grade with the value of 100.  The second line shows an assignment grade with the value of 90.  Note that when calculating the weighted average, only weights that have grades are calculated.  That is, in the above example, there are no tests nor exams to calculate, so the denominator will not be 1, but rather 0.25+0.35=0.6. The program accepts 2 input parameters on the command line.  The first is the name of the input file, the second is the name of the output file.


REQUIREMENTS

  1. Implement the GradeCalculator::Load and GradeCalculator::CalculateAverage functions. a. Load should fill the m_Grades vector b. CalculateAverage should return a pair containing the count and average for the type provided
  2. Neither function should contain a user-defined loop.
  3. There should be no memory leaks.
  4. The only changes will be where the // TODO 
  5. There should be no additional functions nor data types added.

 

Attachments:
(5/5)

Related Questions

CSI 1420 Introduction to C Programming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two majorconstructs of the C programming language – Fu

The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Assignment To Be Done By Our ExpertsGet A+ Grade Solution Guaranteed

expert
joyComputer science
(4/5)
12 Answers Hire Me
expert
Robert DLaw
(4.8/5)
659 Answers Hire Me
expert
Dr Samuel BarberaStatistics
(5/5)
781 Answers Hire Me
expert
Tutor For YouEconomics
(5/5)
765 Answers Hire Me