That was the problem, thanks.
Now that I got that working, anybody have any idea how I can validate that the user is entering a number and not a letter or special character?...
User Profile
Collapse
-
I have checked them and that's what's driving me nuts. There are only 2 sets of "{ }" in the code - one set for the main function and one for the while loop and both complete sets are there....Leave a comment:
-
I made the changes you suggested but I'm still getting the same parce error:
line 45: Parse Error, expecting `'}''
'int i = isdigit(fDollar Amount)'
Any idea what's causing it?...Leave a comment:
-
Parce Error Help
Can anyone tell me why this won't compile?
#include <stdio.h>
#include <ctype.h>
void main ()
{
/* Variables defined with corresponding tax rates. */
float fTaxRateDelMar = .0725;
float fTaxRateEncinit as = .075;
float fTaxRateLaJolla = .0775;
/* Variable defined for user inputed dollar amount to be taxed.*/
float fDollarAmount...
No activity results to display
Show More
Leave a comment: