A college team's BCS football ranking is comprised of three elements:1) the Harris Poll score, 2) the Coaches Poll score, and 3) a computer ranking. Each of these counts as one-third of the final BCS ranking.

The Harris Poll score is obtained by dividing the Harris Poll ranking by 2,850, which is the max- imum number of points any team can receive if all 114 voting members rank the same team as number 1.

The Coaches Poll score is obtained by dividing the Coaches Poll ranking by 1,475, which is the maximum number of points any team can receive if all 59 voting members rank the same team as number 1.

The computer ranking is calculated by some magical formula that won't concern us. We do know, however, that it falls between 0 and 1.

Required:
Write a program to calculate BCS scores for college football teams. Prompt a user for a team's Harris Poll ranking (an integer between 1 and 2,850), ts team's Coaches Poll ranking (an integer between 1 and 1,475), and its computer ranking (a float between 0 and 1). Your program should include

Respuesta :

Answer:

harris_poll_ranking = int(input("Enter team's Harris Poll ranking [1 - 2,850]: "))

coaches_poll_ranking = int(input("Enter team's Coaches Poll ranking [1 - 1,475]: "))

computer_ranking  = float(input("Enter team's computer ranking  [0 - 1]: "))

harris_poll_score = harris_poll_ranking / 2850

coaches_poll_score = coaches_poll_ranking / 1475

bcs_score = harris_poll_score / 3 + coaches_poll_score / 3 + computer_ranking / 3

print(bcs_score)

Explanation:

*The code is in Python.

Ask the user to enter the  harris_poll_ranking as int, coaches_poll_ranking as int and computer_ranking as float

Calculate the harris_poll_score, divide the harris_poll_ranking by 2850

Calculate the coaches_poll_score, divide the coaches_poll_ranking by 1475

Calculate the bcs_score, harris_poll_score, coaches_poll_score and computer_ranking by 3 and sum them

Print the bcs_score