Wrong spelling and code, read this
Double Quotes are a String, single quotes are a char. Your statement should be if(achar == 'R'). You are comparing achar to the String "R" you want to compare it to the char 'R'.
Loading collection data...
Wrong spelling and code, read this
Double Quotes are a String, single quotes are a char. Your statement should be if(achar == 'R').
You are comparing achar to the String "R" you want to compare it to the char 'R'.