TRIANGLE

All submissions for this problem are available.
Problem description:
Given the three sides of a N triangles a,b and c,display the area of the triangle that has minimum area,maximum area,average of the given N triangles area and median of areas of given traingles(round it off to three decimal points if any of output to the given case is a fraction having decimal points greater than 3 digits).
Input
The first line of the input contains an integer N representing the number of triangles.The following N lines contain three sides of a each triangle a,b,c separated by spaces.
Output
 Output the area of the triangle that has minimum area,maximum area,average of the given N triangles area and median of areas of given traingles(round it off to three decimal points if any of output to the given case is a fraction having decimal points greater than 3 digits) in separate line in the format given in the output.
Constraints
 1 ≤ N ≤ 100
 1 ≤ a,b,c ≤ 100
Example
Input: 3 3 4 5 5 5 7 20 12 14 Output: Min : 6 Max : 82.65 Avg : 32.378 Med : 8.485
Author:  dineshreddy36 
Tags  dineshreddy36 
Date Added:  8032014 
Time Limit:  1 sec 
Source Limit:  50000 Bytes 
Languages:  C, CPP 4.3.2, CPP 6.3, CPP14, GO, JAVA 
Comments
 Please login at the top to post a comment.
SUCCESSFUL SUBMISSIONS
Fetching successful submissions
HELP
If you are still having problems, see a sample solution here. 