All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 Boys' names (Posted on 2013-12-30)
Johan and Jonah are two boys' names (in the US) that are anagrams of one another.

Find at least three well known boys' names (in the US) that are anagrams of one another.

 No Solution Yet Submitted by K Sengupta Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
 re: Names | Comment 9 of 10 |
(In reply to Names by Math Man)

Math Man's comment made me notice my original misinterpretation. What's wanted is not three pairs, but rather a set of three anagrams. Modifying my original program:

Second part of program is now:

OPEN "boyname2.txt" FOR INPUT AS #1

l\$ = ""
DO
pp\$ = p\$
p\$ = l\$
LINE INPUT #1, l\$
IF LEFT\$(l\$, 15) = LEFT\$(p\$, 15) AND LEFT\$(l\$, 15) = LEFT\$(pp\$, 15) THEN PRINT MID\$(pp\$, 16, 16); MID\$(p\$, 16, 16); MID\$(l\$, 16, 16)
LOOP UNTIL EOF(1)

resulting in:

MICHAEL         MICHALE         MICHEAL
LEANDRO         LEONARD         RENALDO
ANDRE           ARDEN           DAREN
ARNOLDO         ORLANDO         ROLANDO
ARNOLD          ROLAND          RONALD
JOESPH          JOSEPH          JOSPEH
LEON            NOEL            OLEN

and from the program using the larger data base:

abeu            aube            beau
barny           bryan           byran
michael         michale         micheal
dane            dean            edan
anders          andres          sander
arnoldo         orlando         rolando
arnold          orland          roland
orland          roland          roldan
roland          roldan          ronald
andros          sandor          sandro
amery           aymer           mayer
janos           jason           jonas
biron           brion           robin
bryon           byron           norby
peirce          perice          pierce
ernest          nester          sterne
linoel          lionel          nollie
neils           niels           niles
elvin           levin           nevil
elroy           leroy           roley
moore           omero           romeo
hort            roth            thor

 Posted by Charlie on 2014-01-03 13:23:43

 Search: Search body:
Forums (0)