
-----------------------------------
shruti
Wed Apr 02, 2008 4:34 pm

Hi i am having some problems
-----------------------------------
hi guys i am new. i have a question. i wrote this program where the output should be in alphabetical order but i am having some errors i dont know what it is. anotehr question is that if we have to replace every 4th cahracter in a word ...how to you do it ??? is there a formula or something ???????????


var word:string
 var word1 : string
 var word2 : string
 var word3 : string
put " please enter the first word ex, cappa "
get word1
put " please enter the second word ex, alpha"
get word2
put " please enter the third word ex, beta"
get word3
if (word1>word2) and (word1>word3) then
put "The words in alphabetical order "
elsif (word2word3) then 
put  "The words in alphabetical order "
elsif ( word3