I was encoding a C program as my assignment and got stuck. Following is the part of my assignment where i got stuck
Please enter the employee's pay period information :
Income for the current pay period : -2400
**Value must be greater than 0.0
**Try again. : 2400..
**Trailing character encountered
**Try again. : 2400.00
Can anybody tell me what condition I have to use here?