By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,605 Members | 1,391 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,605 IT Pros & Developers. It's quick & easy.

need helping coding a c program

P: 9
Hi I have to make a program with a function called validfloat() which is to take no parameters and return a float value that has at least one digit to the left of the decimal point and exactly two places to the right of the decimal point. the program is to accept a string from the keyboard and test it using validfloat() to see if the string represents the type of data requested. If it does, the function is to convert the string to a float value, as appropriate, and return it. Any help would greatly be appretiated, thanks
Nov 13 '06 #1
Share this Question
Share on Google+
1 Reply


P: 9
just pushing this up...due tomo : /
Nov 14 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.