[SOLVED] CPSC121-Lab2

20.99 $

Category:

Description

5/5 - (3 votes)

Write a program that:

  1. Asks the user for their average grade (as a % out of 100) for each of the above grade categories
  2. If there is no data for a category, the user should enter the value -1
  3. In such cases, the total score used to calculate our average changes
  4. After all categories have had information input, calculate the user’s class grade based on the syllabus values above. Display a percentage and letter grade to the user.

Points:

  • – Documentation, readability, format
  • – Proper use of conditional statements

2 – Filename and Header 3 – Output testing

Header

//Author: Eric May (your name)

//CPSC 121 Lab 2

//<MM/DD/YY> (Current Date)

Filename

<Last Name><First Initial>lab2.cpp

For example, my assignment would be named MayElab2.cpp