Deutsch   English   Français   Italiano  
<666f04f4$2$1412902$882e4bbb@reader.netnews.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news-out.netnews.com!postmaster.netnews.com!us4.netnews.com!not-for-mail
X-Trace: DXC=9^<l@5lbhW=o:B7l=o;^c3HWonT5<]0T=Q;nb^V>PUf65[gZBW6J?L<ZHjmnLVPdB=k4G3cSPE1c?nT`JO7@`Z@0Mba][>SC2C7f;]EoU=id56=R<hY6_C9T8
X-Complaints-To: support@blocknews.net
Date: Sun, 16 Jun 2024 11:29:59 -0400
MIME-Version: 1.0
User-Agent: Betterbird (Windows)
Subject: Re: Simple challenge VII for the simpleton Feeb
Newsgroups: comp.os.linux.advocacy
References: <666d7e75$0$3747320$882e4bbb@reader.netnews.com>
Content-Language: en-US
From: DFS <nospam@dfs.com>
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...