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

Home > General > Word Problems
Magma et al. (Posted on 2010-06-30) Difficulty: 3 of 5
"Onion" and "salsa" possess a similar structure: both words consist of two identical 2-letter syllables and a distinct letter between them.
Apparently, there are more English words of similar form (12312).
Find as many as you can.

No Solution Yet Submitted by Ady TZIDON    
Rating: 4.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution From the computer | Comment 2 of 10 |

OPEN "\words\words5.txt" FOR BINARY AS #1
w$ = SPACE$(5)
DO
  GET #1, , w$
  IF EOF(1) THEN EXIT DO
  IF MID$(w$, 1, 1) = MID$(w$, 4, 1) THEN
  IF MID$(w$, 2, 1) = MID$(w$, 5, 1) THEN
    IF MID$(w$, 1, 1) <> MID$(w$, 2, 1) THEN
    IF MID$(w$, 1, 1) <> MID$(w$, 3, 1) THEN
    IF MID$(w$, 2, 1) <> MID$(w$, 3, 1) THEN
      PRINT w$
    END IF
    END IF
    END IF
  END IF
  END IF

LOOP

finds

algal
caeca
edged
ictic
magma
onion
pampa
salsa
seise
sense
shush
verve
zanza


  Posted by Charlie on 2010-06-30 13:23:52
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (11)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information