[ubuntu-mono] [Bug 721085] Re: Incorrect asnwer, or I'm dumb
Jordi Mas
jmas at softcatala.org
Mon Feb 21 20:00:20 UTC 2011
First, thanks for the bug report.
This the formula that calculates these[1] for gbrainy 1.51:
int people = 40;
int brothers = 10 + random.Next (8);
int sisters = 12 + random.Next (8);
int both = 5 + random.Next (5);
int brothers_only = (brothers - both);
int sisters_only = (sisters - both);
int rslt = people - brothers_only - sisters_only - both;
It is just impossible to generate a non integer number.
Can you please include a screen capture that shows the issue?
Which language are you playing? English?
Thanks,
Jordi,
[1]
http://git.gnome.org/browse/gbrainy/tree/data/games.xml?id=GBRAINY_1_5_1
--
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to gbrainy in ubuntu.
https://bugs.launchpad.net/bugs/721085
Title:
Incorrect asnwer, or I'm dumb
Status in “gbrainy” package in Ubuntu:
New
Bug description:
Binary package hint: gbrainy
V1.51
Q:
Out of 40 people, 13 have brothers, 14 have sisters and 8 have both. How many people have neither brothers nor sisters.
A:
The correct answer is 21.5 people have brothers only, 6 sisters only and 8 have sisters and brothers.
Is there a half brother somewhere? I would guess by the wording, that
the 8 that have both would be part of the 27 that have one or the
other. That would be 13 that have neither. If the wording is
unclear, and the 13 and 14 are exclusive, and only have brother, or
only have sister, then the 8 would be in addition to the 27. Which
would be 35, leaving 5 with neither. So it looks like a bug to me.
More information about the Ubuntu-mono
mailing list