Question: Current Grade Program in Python Write a program that calculates your current grade in a course with 5 categories of assignments: Quizzes Projects Activities Attendance

Current Grade Program in Python

Write a program that calculates your current grade in a course with 5 categories of assignments:

  1. Quizzes
  2. Projects
  3. Activities
  4. Attendance
  5. Exams

The program should take as input:

  1. The name of the student
  2. The name of the course
  3. Weights of each assignment category as a floating point value between 0 and 1, in this order:

a. Quizzes b. Projects c. Activities d. Attendance e. Exams

4. The average score for each category as a float between 0 and 1, in this order:

a. Quizzes b. Projects c. Activities d. Attendance e. Exams

---------------------------------------------------------

The program should output:

A formatted sentence with the student's name and grade in the course. For example:

Hi Ryan, You have a 99.9% in your Advanced Quantum Mechanics course.

For example, with the following inputs:

Enter student's name: Ryan Enter course name: Advanced Quantum Mechanics Enter quizzes weight: .1 Enter projects weight: .2 Enter activities weight: .3 Enter attendance weight: .1 Enter exams weight: .3 Enter quizzes average: 1 Enter projects average: .85 Enter activities average: .9 Enter attendance average: .95 Enter exams average: .87

the output should be something like this:

Hi Ryan, You have a 89.6% in your Advanced Quantum Mechanics course.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!