QUOTE(ajwsurfer @ 13 Mar, 2007 - 10:54 AM)

Here is your program without the compile time errors, there are still plenty of logic errors (runtime errors). Pretty good for a first try.
CODE
#include <iostream>
using namespace std;
int main()
{
int a;
a = 0;
while (a <= 100)
{
printf ("%4d degrees F = %4d degrees c\n");
a = ( a - 32) * (5 / 9);
a = a + 10;
}
return 0;
}
Well that's something which happens when you code even before you decide what exactly you want to code...
See there are no runtime errors in programs, they are simple logical bugs.
like....
* you are printing (user "cout: you are in c++ now) but where are the variables to print?
* If you modify a like that then it will never satisfy the while condition. [atleast it will not give you the expcted output].
* Using Integer??? are you sure that you will not need to store the floats?
I am not trying to criticise you but I just want to say that please give a thought to the process and algorithm and you will be benifited...
Well, I don't like to code like this but I have modified your code for you.
Just have a look, but please follow the rules. This is not the right way of coding.
CODE
#include <iostream>
using namespace std;
int main()
{
float a,b;
a = 0;
while (a <= 100)
{
b = ( a - 32) * (5 /(float) 9);
a = a + 5;
cout<<a<<" degrees F = "<<b<<" degrees celcius."<<endl;
}
return 0;
}
hope this will help you...