|
Home » C++ Home » Beginners / Lab Assignments Home » To calculate percentile
A D V E R T I S E M E N T
Title |
To calculate percentile |
Author |
Ravi Mathur |
Author Email |
vyomworld [at] vyomworld.com |
Description |
Write a program for the problem: the array of inetegers indicating the marks of the students is given, U have to calculate the percentile of the students aaccording to this rule: the percentile of a student is the %of no of student having marks less then him. For eg: suppose
Student Marks A 12 B 60 C 80 D 71 E 30 F 45
percentile of C = 5/5 *100 = 100 (out of 5 students 5 are having marks less then him)
percentile of B = 3/5*100 = 60% (out of 5, 3 have markses less then him)
percentile of A = 0/5*100 = 0%. |
Category |
C++ » Beginners / Lab Assignments |
Hits |
449933 |
Code |
Select and Copy the Code
|
|
|
Related Source Codes
A D V E R T I S E M E N T
|
Subscribe to SourceCodesWorld - Techies Talk |
New! Click here to Add your Code!
ASP Home | C Home | C++ Home | COBOL Home | Java Home | Pascal Home
Source Codes Home Page | |
|