id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

frew@mclean.com unit7day2b2021 > calc3rdQuartile
prev  |  next  |  chance

Write a method that accepts an array with a length is double an odd number, and return the third quartile (median of the upper half) of the data. https://www.mathportal.org/calculators/statistics-calculator/descriptive-statistics-calculator.php


calc3rdQuartile([4, 8, 15, 2, 3, 42, 1, 15, 8, 25]) → 15
calc3rdQuartile([4, 3, 5, 9, 2, 11]) → 9

...Save, Compile, Run (ctrl-enter)

public int calc3rdQuartile(int[] nums) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 100

Copyright Nick Parlante 2017 - privacy