hi! am taking java class. we were asked to do a program that manipulates strings. am not good at it and i'm already failing in class. could anyone help me how to do it.
this is an example on how the program would look like:
input: cursed witch
output: Witch, Cursed
output: cURSED wITCH
output: CW (initials)
output: count is two.
we were also asked to change the case of the first letter of every word to Ucase and the rest in Lcase.
reverse the string input without using the reverse();
for anybody who can help thanks!
ahm... am using a jcreator, f dat makes any difference. :)
this is an example on how the program would look like:
input: cursed witch
output: Witch, Cursed
output: cURSED wITCH
output: CW (initials)
output: count is two.
we were also asked to change the case of the first letter of every word to Ucase and the rest in Lcase.
reverse the string input without using the reverse();
for anybody who can help thanks!
ahm... am using a jcreator, f dat makes any difference. :)
Comment