For a school project I am doing we are required to take character input through the command line and convert the character to its ascii value. I would think, therefore, that the line of code:
would print out 97(ascii for a) if i were to type 'a' as the first command parameter. However, my program is printing out 109, the ascii code for 'm'. Why is this happenning??