If the word entered i equal to virtual,we need to print "Correct Password".Else,what you want to do?You want simple to print the first four characters of the message such as Corr and what you mean the length of the string.Is it 4 or what?Explain it correctly..........