Thanks mats, it is actually in the debug version. Anyway, it's running now and thanks to all of you.. Final code is:
Code:
#include <cstdio>
#include <cstdlib>
#include <iostream>
using namespace std;
int main ()
{
//enter the temperature in celsius
int celsius;
cout <<"Enter the temperature in celsius: ";
cin >> celsius;
//calculate conversion factor for celsius to fahrenheit
int factor;
factor = 212 - 32;
//use conversion factor to convert celsius into fahrenheit value
int fahrenheit;
fahrenheit = factor * celsius/100 + 32;
//output the results (followed by an Newline)
cout <<"Fahrenheit value is: ";
cout <<fahrenheit <<endl;
//wait until user is ready before terminating program to allow the
//user to see the program results
system ("PAUSE");
return 0;
}