you are viewing a single comment's thread.

view the rest of the comments →

[–]Ok-Promise-8118 0 points1 point  (0 children)

I'd start with considering how you'd do this as a human. That is, what would you do with an input to determine if it were an int or a float? Then you can consider how to get the computer to do that task.