Computer Science Canada help me! |
Author: | baby girl [ Tue Dec 10, 2002 9:31 am ] |
Post subject: | help me! |
write a program to output the first and last letters of a series of words. a sample execution window might be ex.enter word :pig PG enter word :dog dg |
Author: | Tony [ Tue Dec 10, 2002 12:11 pm ] |
Post subject: | |
its all about string selection. text(index) where index is the integer of what letter to put. so text(1) will put first letter and text(*) will put last letter. text(2..*-1) will put everything but 1st and last |
Author: | baby girl [ Fri Dec 13, 2002 10:45 am ] |
Post subject: | |
i get the t(1) and the(*) by everytime i put to run there is a error can you just post the code thank hun |
Author: | Tony [ Fri Dec 13, 2002 2:41 pm ] | ||
Post subject: | |||
|