How do you create a program that will allow me to input students scores and weights and the program should then calculate a weighted average and score based on the date inputted by the user?

1 answer

Answer

1209411

2026-03-28 18:55

+ Follow

To create a program that calculates a weighted average based on student scores and weights, you can use a programming language like Python. First, prompt the user to input the number of students, then use a loop to gather each student's score and weight. After collecting the data, calculate the weighted average using the formula: (sum of (score * weight)) / (sum of weights). Finally, display the calculated weighted average to the user.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.