Hi,
After the statement setValueAns = setValue.charAt(0);
Syed.
Type: Posts; User: syedbhai
Hi,
After the statement setValueAns = setValue.charAt(0);
Syed.
Junky,
The loop condition is perfect. It will not stop because of YES.
Haiz,
I discovered the problem in your code. Scanner class object has one strange behavior. After invoking next()...
Guys,
I have executed the following piece of code:
public static void main(String str[]) {
try {
Scanner s=new Scanner(System.in);
String...
Hikaros,
Before making your comments about string comparison you should have first asked Haiz to show the declarations of the variable used in the program.
One the of the variables he is using is...