hi
i'm trying to write this programme i think im nearly there. if its lower case i want to change it to upper and Visor verse. this also includes in the same word. eg
Hi tHeRE = hI ThEre
String a = args[0];
do
{
if (????????)
a = a.toUpperCase() ;
else
a = a.toLowerCase() ;
}
while(????)
System.out.prin tln(a)
}
this is what i think not sure what to put in the IF statement. can any 1 help?
i'm trying to write this programme i think im nearly there. if its lower case i want to change it to upper and Visor verse. this also includes in the same word. eg
Hi tHeRE = hI ThEre
String a = args[0];
do
{
if (????????)
a = a.toUpperCase() ;
else
a = a.toLowerCase() ;
}
while(????)
System.out.prin tln(a)
}
this is what i think not sure what to put in the IF statement. can any 1 help?
Comment