Hey folks
I am trying to write a program for class (in c), and i would like it to validate that the user only introduces a number with a decimal point (a float, rational number). I am not sure if there is a function to do this or if i have to work out the logics my self, either way, i would really like some help with this. Thanks a lot.
I am trying to write a program for class (in c), and i would like it to validate that the user only introduces a number with a decimal point (a float, rational number). I am not sure if there is a function to do this or if i have to work out the logics my self, either way, i would really like some help with this. Thanks a lot.