I am trying to create a program to score a bowling game. I have a variable "B" that is defined as an int. There is another varaible "K" that is defined as an int.
I have used B = getchar() to get the value of B and i then do
K = B + K
and assign the value of K to a point in my array, and print the array to the screen, but K is returned on the monitor as a funny looking character. How can i get K to be returned to the monitor as a number and not this strange character?