Write a pseudo code that calculates the total point earned by a football team over a series of games and calculate the average of team. It allow the user to enter the series of game points, As soon as the user enters a negative value -1 to program, it should calculate the average test score and display it. Team A series 1 point: 10 Team A series 2 point: 5 Team A series 3 point: 8 Team A series 4 point: 9 Team A series 5 point: 12 Team A series 6 point: -1 Average of Team A =8.8
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Write a pseudo code that calculates the total point earned by a football team over a series of games and calculate the average of team. It allow the user to enter the series of game points, As soon as the user enters a negative value -1 to
Team A series 1 point: 10 Team A series 2 point: 5 Team A series 3 point: 8 Team A series 4 point: 9 Team A series 5 point: 12 Team A series 6 point: -1 Average of Team A =8.8 |
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images