Hi everyone, im not competely new to C++ but we are being asked to create a new program for converting celsius to farenheit which is an easy code set, but we have to create it using seperate units, which i have to admit is massivley confusing me !
#pragma hdrstop
#include "temps.h"
#pragma package(smart_init)
//---------------------------------------------------------------------------
double convert(double cels)
{
double cels = Temp->Text.ToDouble();
double faren = 9 * cels;
faren / 5;
faren + 32;
}
My question would be to execute this code and output in a text box named Output what code should be executed in the main file ?
Appreciate any help been reading here for a while, but never posted before !