+ 2
Convert Char input as digit?
Is it possible to accept user input as a char and then convert it into an integer to be able to perform calculations with it? Example; User inputs char 'A' as grade and then 'A' is converted to 12
8 Answers
+ 8
@Toni what luka said
+ 6
@Toni what luka said
+ 6
Pls post the code here
+ 6
Okay
+ 1
do I have to import anything before this works?
because I'm getting an error
0
I just found the error and corrected it...
thanks guys..
I really appreciate