Hello,
Do you know what is wrong with this?
Code:
/* print fahr-celc table for fahr = 0, 10, 20, ..., 100 */
int main (void)
{
int celc, fahr;
int lower, upper, step;
lower = 0; /* lower limit of temperature scale */
upper = 100; /* upper limit */
step = 10; /* step size */
fahr = lower;
while (fahr <= uppur);
{
celc = 5*(fahr-32)/9;
printf("%d\t%d\n", fahr, celc);
fahr = fahr + step;
}
}
When I press execute, pelles c says:
Building main.obj.
D:\Documenten\Mijn_documenten\c programma's van mij\derde project\main.c(37): error #2048: Undeclared identifier 'uppur'.
*** Error code: 1 ***
Done.
I don't know what is wrong with this.
Please help me.