
-----------------------------------
555_faiz
Wed Apr 08, 2009 5:04 pm

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

-----------------------------------
saltpro15
Wed Apr 08, 2009 5:08 pm

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

-----------------------------------
BigBear
Wed Apr 08, 2009 5:23 pm

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
