Hey guys, need some help with code.
Have to print "error" if user inputs float/double number instead of int.
example:
if users inputs 5 its ok,
but if inputs 5.5 programm prints out "Error"
How can i do that?
Thanks for help.
What have you tried? Show us some code that illustrates the problem and ask specific questions based on that code.