Module 1 Assessment Part 3
Requirements—Part 3
Write a Python program that will incorporate conditional looping to average a given number of assignment grades for a student. The program will calculate and display the average.
Pseudocode:
Enter number of grades to process.
Enter a student name
While loop counter is less than number of grades to proces
Enter assignment grade
Add grade to grade tally
Increment loop counter
Calculate student average
Display student average
Instructions—Part 3
1. Initialize variables as needed (i.e., numGrades = 0).
2. Prompt the user to input the number of grades to be processed. Store this value in a variable (i.e., numGrades).
Hint: This value will determine how many repetitions are performed.
3. Prompt the user to enter a student name. Store that name in a variable (i.e., studentName).
4. Create a conditional loop and continue processing grade values for this student until the given number of assignments have been processed.
Within this loop:
a. Prompt to get a numeric grade value from the user.
b. Add that grade to a numeric variable to keep a tally of the grades. Each time through the loop (for a given student), a new grade value will be entered and added to this tally.
c. Increment the loop counter.
5. Once grades for the conditional loop have been entered, average the grades using the total tally divided by the number of grades to be entered given at the start of the program. Store the average in a variable (i.e., studentAverage).
6. Display the name of the student and their average.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme