I am just starting out in C. Can some one help me out? I need a statement that will test an entered number to determine if it is an integer or a float. I would appreciate if someone could at least point me in the right direction.
Thanks, Ed B.
I am just starting out in C. Can some one help me out? I need a statement that will test an entered number to determine if it is an integer or a float. I would appreciate if someone could at least point me in the right direction.
Thanks, Ed B.
You can decide what type of data is inputted. Just specify it in your scanf().