HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


50885 - Calculate the Average

Section problems

• 50888 - Extracting Digits
• 50969 - Chef and Feedback
• 50962 - Find the Character
• 50974 - Area of the circle
• 50905 - Convert KPH to MPH
• 50967 - Finding Square Roots
• 50960 - Number of Heart Beats
• 50953 - ASCII Codes - Reverse
• 50885 - Calculate the Average
• 50887 - Average of Test Scores
• 50904 - Print All Prime Numbers
• 50895 - Hours Minutes and Seconds
• 50902 - Translate Score into Grade
• 50938 - Translate Score into Grade
• 50890 - Convert Celsius to Fahrenheit
• 50958 - Number of Passengers in Train
• 50889 - Convert to Minutes and Sec...

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 Input1:

Sample Input2:

4 6 3 7 7

1 2 3 4 5

Sample  Output1:

Sample  Output2:

5.4

3

 

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

www.contester.ru