HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


50937 - Calculate the Average

Section problems

• 50891 - Smallest Number
• 50965 - Draw the Pattern
• 51103 - Is it a triangle?
• 50945 - Bigger or Smaller
• 50946 - Area of Rectangle
• 50949 - Vowel or Consonant
• 50881 - Exchange the Values
• 51114 - The traveling vehicle
• 50937 - Calculate the Average
• 50947 - Calculate the Average
• 50964 - Increasing or Decreasing
• 50948 - Translate Score into Grade
• 50280 - Division
• 50256 - Sequence
• 50257 - Galls village
• 50266 - Kovrov
• 50254 - Lawyers Council

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

Calculate the Average

Write a program that asks the user to type 5 integers and than calculates the average of them.

Input: In the first line you will get 5 integer numbers.

Output: Average of the 5 integers numbers (Result may be decimal number).

Sample Input I
4 6 3 7 7
Sample Input II
4 6 3 7 7
Sample Output I
5.4
Sample Output I
3

Для отправки решений необходимо выполнить вход.

www.contester.ru