Posts by nathan herdy • 21 points
1 post
-
0
votes3
answers7251
viewsQ: How to read keyboard numbers in C#?
I know that getchar() gets keyboard characters by stdin, but I want to know how to enter numbers into a variable. For I use getchar() and type a 2, for example, the variable becomes 50, and it’s…