Hello

im trying to write a program that is required to use the getchar method.

the variables (there is two) is of type int and float.

is the coding for it

int a = (getchar() != '\n');

will this read a number greater than one digit, like 15. if not who do i write it so it does read bigger numbers.