+ 1
📣📣CHALLENGE::Calculate the given percentile of the given data set📣📣
For example, suppose you have 25 test scores, and in order from lowest to highest they look like this: 43, 54, 56, 61, 62, 66, 68, 69, 69, 70, 71, 72, 77, 78, 79, 85, 87, 88, 89, 93, 95, 96, 98, 99, 99. To find the 90th percentile for these (ordered) scores, start by multiplying 90% times the total number of scores, which gives 90% ∗ 25 = 0.90 ∗ 25 = 22.5 (the index). Rounding up to the nearest whole number, you get 23. Counting from left to right 23 rd number is the 90th percentile for the dataset
2 Antworten
+ 9
I put it down more as a reference :)
https://code.sololearn.com/cB8lidPex2B5/?ref=app
+ 2
https://code.sololearn.com/cOJa2lUWY2n9/?ref=app