Computer Science Canada can anyone please help me with this programming question? |
Author: | 555_faiz [ Wed Apr 08, 2009 5:04 pm ] |
Post subject: | can anyone please help me with this programming question? |
Ask the user for a word. If it contains the work "cat", replace it with "dog" Eg: input scatter Output sdogter |
Author: | saltpro15 [ Wed Apr 08, 2009 5:08 pm ] |
Post subject: | RE:can anyone please help me with this programming question? |
pretty simple, just check if the input string contains "cat" and if it does, replace it with dog, then add the rest of the string |
Author: | BigBear [ Wed Apr 08, 2009 5:23 pm ] |
Post subject: | RE:can anyone please help me with this programming question? |
Look into the index command in the F10 help or this link http://compsci.ca/holtsoft/doc/index.html |