HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginners > problem:


50885 - Calculate the Average

Volume problems

• 50892 - Even Numbers
• 50907 - Second Largest
• 50891 - Smallest Number
• 50893 - Print All Numbers
• 50888 - Extracting Digits
• 50905 - Convert KPH to MPH
• 50881 - Exchange the Values
• 50903 - Basic Math Calculator
• 50885 - Calculate the Average
• 50887 - Average of Test Scores
• 50895 - Hours Minutes and Seconds
• 50902 - Translate Score into Grade
• 50890 - Convert Celsius to Fahrenheit
• 50889 - Convert to Minutes and Sec...
• 50900 - Put the Numbers in Descend...
• 50884 - Area and Perimeter Of The ...
• 51113 - The Menu

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