This is for C programming.
I posted a message earlier on this but the response did not work. I need to allow the user to enter a number and nothing else. I want them to only be able to enter positive numbers. They are entering a dollar amount. This could be 10.37 or 44 or whatever. It just has to be a valid currency amount. No negative numbers and no letters. If they enter those it should say invalid entry please try again. Can anyone help. The simpler the better here as I am quite new.