Return to Index  

When is this due by?

May 7 2003 at 5:52 PM
No score for this post
MiggyD 


Response to beginner help

 

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

 
Scoring disabled. You must be logged in to score posts.Respond to this message   
Find more forums on ProgrammingCreate your own forum at Network54
 Copyright © 1999-2009 Network54. All rights reserved.   Terms of Use   Privacy Statement