Then new forum moderation

JN 666total at wp.pl
Mon Sep 24 12:56:43 UTC 2018


On Monday, 24 September 2018 at 12:44:09 UTC, Kagamin wrote:
> On Saturday, 22 September 2018 at 16:48:35 UTC, SashaGreat 
> wrote:
>> PS: By the way the CAPTCHA is awful, look what they throw to 
>> us:
>>
>> int v()
>> {
>>   return 26 % 3
>>     ? 13 / 3
>>     : 42 % 5;
>> }
>>
>> I mean
>
> Awww, that's cute! Finding a remainder from division by 3 
> (three!) is junior school arithmetic. And in this case you 
> don't even need to properly calculate it, only guess that it's 
> not zero. I don't see a good excuse to fail at it.

Well, it requires you to know what a ternary operator is and how 
it works. Also, how ints are implicitly converted to bool. Also 
would be good to know if 13/3 is 4 or 4.33


More information about the Digitalmars-d mailing list