need helping coding a c program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jhendrix
    New Member
    • Oct 2006
    • 9

    need helping coding a c program

    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
  • jhendrix
    New Member
    • Oct 2006
    • 9

    #2
    just pushing this up...due tomo : /

    Comment

    Working...