Test Scores and Course Grade
Write a program that:
- Includes the following line comments at the top of the document:
- Python Homework #2: Test Scores and Course Grade
- Author: Your Name
- School: Pace University
- Course: CIS101
- Instructor: Professor Michael Sidaras-Tirrito
- Semester: Fall 2018
- Date Created: An actual date you created the file
- Initializes the following:
- A string variable named name, defaulted to empty string
- A string variable named course, defaulted to empty string
- A numeric variable named excelMidterm, defaulted to 0
- A numeric variable named pythonMidterm, defaulted to 0
- A numeric variable named excelFinal, defaulted to 0
- A numeric variable named pythonFinal, defaulted to 0
- Collects user input of the name, the course, the Excel Midterm Grade, the Python Midterm Grade, the Excel Final Exam Grade and the Python Final Exam.
- Calculates the Course Average as the sum of the exams divided by 4 and stores the result in a new variable named courseAverage.
- Displays the values stored in each variable on the screen, using the following example format and accompanying additional string literal text:
- Using if then elif statements to control outputting the correct letter grade based on the Course Average to Letter Grade Conversion Table listed below