That should be 'a' to show its a char and not a String.
chars convert to int values for comparing. You don't have to look up the ASCII value. You can code: 'a'
Instead of 1 use 'a', for 5 use...
Type: Posts; User: Norm
That should be 'a' to show its a char and not a String.
chars convert to int values for comparing. You don't have to look up the ASCII value. You can code: 'a'
Instead of 1 use 'a', for 5 use...
The expressions on each side of a boolean operator like the || must be a boolean expression (returns either true or false). For example: (a > 3) || (b <=2)
5 is does not have a boolean value. The...