Average Grade
Problem Statement
You are a teacher and want to calculate the average grade of your students for a particular subject. Write a program that takes the grades of five students as input and calculates their average grade.
Constraints
- All input grades are float numbers between 0 and 100
- The output average is a float number
Input
Input is in the following format:
grade1
grade2
grade3
grade4
grade5
Output
average
Samples
Sample 1
Input | Output |
---|---|
75 80 90 85 95 |
85.0 |
Sample 2
Input | Output |
---|---|
60 70 50 90 40 |
62.0 |
Sample 3
Input | Output |
---|---|
0 100 50 50 90 |
58.0 |
Comments