The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
This needs to be in C++. I am using Zybooks for my compiler. We have not learned anything about i or i++ etc. Would need to be done by SAturday Feb. 4th by 8pm! THank you!
CMPSC 101
LAB 4 – Calculate your GPA
Write a program to calculate your GPA, using the following information for your grades:
A: 4.00
A-: 3.67 B+: 3.33
B: 3.0
B-: 2.67 C+: 2.33
C: 2.00 D: 1.00
F: 0.00 Use this runs as an example (underlined elements indicate input data):
Enter grade for class 1: 4
Enter credits for class 1: 1
Enter grade for class 2: 3.67
Enter credits for class 2: 3
Enter grade for class 3: 3.33
Enter credits for class 3: 3
Enter grade for class 4: 3
Enter credits for class 4: 3
Enter grade for class 5: 2.67
Enter credits for class 5: 3
Your total points: 42.01
Your GPA: 3.23154 Run it at least three times with different data, then, following the instructions in the “How
to package and submit your labs” video, package up your work. Double check to
confirm that the package is complete (i.e., all the header info, the code, the screen
shots, the output, etc.), and then submit it to the drop box.
Next, go back and confirm that the submission is in the drop box!