Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!news-out.netnews.com!postmaster.netnews.com!us4.netnews.com!not-for-mail X-Trace: DXC=9^PUf65[gZBW6J?LSC2C7f;]EoU=id56=R Content-Language: en-US From: DFS In-Reply-To: <666d7e75$0$3747320$882e4bbb@reader.netnews.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Lines: 56 Message-ID: <666f04f4$2$1412902$882e4bbb@reader.netnews.com> NNTP-Posting-Host: 127.0.0.1 X-Trace: 1718551796 reader.netnews.com 1412902 127.0.0.1:37789 Bytes: 2339 On 6/15/2024 7:43 AM, DFS wrote: > > You recently claimed "There are *no* competent C programmers here > (except little ol' me)." > > It's long past time for you to begin trying to prove your programming > competency (you NEVER have, in any language). > > Write one C routine that will compute the 3 quartiles of any dataset of > positive integers.  Quartiles subdivide the datasets into 4ths by median. > > Here are some random datasets to work from. > > N = 20: > 3 9 9 12 17 22 29 29 33 35 36 37 40 44 46 49 50 51 55 57 > > N = 21: > 3 3 4 4 4 7 8 9 13 17 30 32 34 36 38 42 43 43 45 48 54 > > N = 30: > 6 12 13 17 19 20 20 20 22 23 29 32 34 40 41 42 44 46 48 50 61 64 66 68 > 69 72 73 > > N = 31: > 6 10 10 15 19 21 21 31 36 42 44 48 50 50 51 52 58 62 68 69 70 70 72 76 > 81 82 82 84 84 92 93 > > > Use this method: > Q1 = median of lower half not including Q2 > Q2 = median of dataset > Q3 = median of upper half not including Q2 > > Example > 1 2 3 4 5 6 7 8 9 10 11 > > Q1 = 3 > Q2 = 6 > Q3 = 9 > > > I've already written such code, in C and python.  And I posted both to > clc, so don't cheat and plagiarize it from there or elsewhere as you > often do. > > See you NEVER, fraudulent lying asshole. crickets. Geez... it's hard to believe Feeb ran away from a simple coding challenge like he did umpteen times before...