
-----------------------------------
NAS
Thu Nov 28, 2002 11:57 am

SOMEONE HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-----------------------------------
WRITE A PROGRAM TO DIVIDE NAMES IN TWO TO GROUPS THOSE WHO  WITH A TO H AND THOSE THAT BEFIN WITH I TO z ASK A PERSON TO ENTER THEIR NAME THEN OUTPUT A MESSAGE INDICATING WHICH GROUP THEY ARE IN.MAKE IT REPEAT FOR EACH NAME.THE USER WILL TYPE end TO QUIT (THE NAMES ARE MIKE,JOHN,CARLA,ANA,TONY)

-----------------------------------
FizixMan
Thu Nov 28, 2002 1:15 pm


-----------------------------------
Well... next time dump the all caps... hurts to read :P 

I'm only going to tell you the possible function you need to complete this.  I'm assuming you already have knowledge of "get", "put", "loop", and "exit when". 

Quite simply, to look at individual characters within a string, you just need brackets and an index value beside the variable.  In this case, we we're looking at the FIRST letter of the name, so we need to look at position 1 and just use a simple "if" statement.  if INPUT(1)>="A" and INPUT