What do you have so far? If nothing, then its hard for anyone to help you.
Here's a list of what I believe the teach is looking for:
FOR/NEXT (or) DO/LOOPs,DIM, Input, print, and LEN.
You should also consider (until you get better at programming) doing some pseudo coding. It essentially creates the logic that you want to follow.
/-------example-------/
clear the screen of garbage
setup of pointers/Counters
start loop here<<
is this the 9th word? (Yes= exit loop)
ask for a word$
is word$ longer than any other word in array? (Yes=save to LongWord$)
is word$ Shorter than any other word in array?
(Yes=save to SmalWord$)
increase Counter by 1
loop to beginning again<<
print a blank line
print out "longest word: " plus LongWord$
print out "shortest word: " plus SmallWord$
end program
/-------end-------/
HTH.
--MiggyD |