0
How to make sure the data(float) in c is numeric
If people key in alphabet how to show that this is an error?
1 ответ
+ 5
This will help you. You can check easily Entered input is float int or string for string u need to add logic this code is for float and int you can see program
https://stackoverflow.com/questions/20068234/c-how-to-check-if-the-number-is-integer-or-float