Nota mitjana


Submit solution

Points: 10
Time limit: 5.0s
Memory limit: 256M

Author:
Problem type
Allowed languages
C#, Go, Java

Donades les notes de 3 exàmens, calcula la seva mitjana.

Input Format

El primer nombre \(N1\) és la nota del primer examen.

El segon nombre \(N2\) és la nota del segon examen.

El tercer nombre \(N3\) és la nota del tercer examen.

Constraints

-

Output Format

La nota mitjana.

Test Case 1

Input
0 5 10
Output
5.0

Test Case 2

Input
5 7.5 10
Output
7.5

Test Case 3

Input
6.75 7.25 8.4
Output
7.4666667

Authorship: Gerard Falcó

CC BY-NC-SA 4.0