Hello, I'm a newbie at C and i have a problem:) I tried to solve this by using for. but i couldnt. the program should read a floating point number from the user character by character until the character ‘!’, and then convert it to its floating point equivalent. and the problem says "You must perform a simple input check. If the user enters a character other than a digit or point, warn the user and exit the program.":)
eg:...