First of all have you decided how to determine whether a number is integer or float? If you haven't done this yet then you won't be able to write a program to do it.
If you've decided that, have you started yet? What code do you have? Does it work? If not, what does it do wrong? What input did you give and what output did you get?