I'm working on a program that part of it asks for an integer input.
then if the value entered is not an integer, it should print an error message. If not, then the rest
of program (which I've got partly complete).
But, I have no idea how to distinguish between an integer and a non-integer value.
I have nothing to post here for that part,cuz i don't know where to start.
the only thing that came to my mind ( and did not work), was the max value for an integer and float, but it turned out to be crap!
any help is appreciated.