Im trying to convert a code supplied by my lecturer to a code i can use in borland c++ compiler 6.

#include <iostream>
int main()
{
Double c ;
std::cout << "Enter Celcius";
std::cin >> c;
Double f = 9 * c / 5 + 32;
std::cout <<"Fahrenheit = " << f;
return 0;
}

I have created the gui with an 1 input box and 1 out put box the theory is to input Celcius in the inputbox and click run then the output box will display the Fahrenheit value.

any help would be most appreciated.

additionally if i've missed anything out or need to supply more details just say.