--- Begin Message ---
Hello,
I hope I can discuss my approch to this problem :
Given a number determine whether or not it is valid per the Luhn
formula.
The Luhn algorithm is
a simple checksum formula used to validate a variety of
identification
On Wed, Apr 29, 2020 at 11:30 AM Roelof Wobben wrote:
> Am I right here or terrible wrong ?
>
If you are referring to calculating the size of the square, you are correct.
> Roelof
>
>
>
> Op 28-4-2020 om 20:53 schreef Roelof Wobben:
>
> Thanks,
>
> And the 5 can also be calculated by 2 * (ch
--- Begin Message ---
Am I right here or terrible wrong ?
Roelof
Op 28-4-2020 om 20:53 schreef Roelof Wobben:
Thanks,
And the 5 can also be calculated by 2 * (char - $a) + 1
Roelof
Building on Richard's advice, one way to break this down into a series of
simpler tasks is
- first generate a square without any dots, i.e. ALL A's on the first line,
ALL B's on second line, ALL C's on third line.
- second, work out when to output a dot rather than a letter.
cheers -ben
On Wed, 2
On Tue, 28 Apr 2020 at 01:08, Roelof Wobben via Pharo-users <
pharo-users@lists.pharo.org> wrote:
> Op 27-4-2020 om 19:05 schreef Richard Sargent:
>
> On Mon, Apr 27, 2020 at 9:27 AM Roelof Wobben via Pharo-users <
> pharo-users@lists.pharo.org> wrote:
>
>> Hello,
>>
>> I wonder if it is possible
> but I do not have a clue what the aBlock is
You say the method definition is...
> linksTowards: anAddressdo: aBlock
and then later indicate its called like this...
> linksTowards: aPacket destinationAddressdo: [ :link | self
send: aPacket vi