Average
Practice
3 (1 votes)
Problem
95% Success 20 Attempts 20 Points 1s Time Limit 256MB Memory 1024 KB Max Code
Given 4 integers a, b, c, d in the input. Find out average of these numbers correct to 2 decimal places.
Sample Input
3 3 2 2
Sample Output
2.50
Explanation
Average = (3 + 3 + 2 + 2) / 4 = 2.50
Donot print 2.5, because output must be given correct to 2 decimal places.
Code Editor
Please login to use the editor
You need to be logged in to access the code editor
Loading...
Please wait while we load the editor
Submissions
Please login to view your submissions
Similar Problems
Points:20
22 votes
Tags:
Ad-HocData StructuresOpenApprovedMathEasyMathamatics
Points:20
Tags:
Easy
Points:20
210 votes
Tags:
Basic ProgrammingSimple-mathEasy
Editorial
No editorial available for this problem.
Please login to use the editor
You need to be logged in to access the code editor
Loading...
Please wait while we load the editor