include
#include
double ctof(double x);
double ftoc(double x);
void ftocf();
void ender();
void ctoff();
int op;
void main ()
{
op=0;
cout<<"Select an Option:"< cout<<" 1 for F to C"< cout<<" 2 for C to F"< cout<<" 3 To End"< cin>>op; if(op==1) ftocf(); if(op==2) ctoff(); if(op==3) ender(); } void ctoff() { int x; cout<<"Enter Degrees Celcius to Make Into Fahrenheit:"< cin>>x; cout<<"Result: "< main(); } void ftocf() { int y; cout<<"Enter Degrees Fahrenheit to Make Into Celcius:"< cin>>y; cout<<"Result: "< main(); } double ctof(double x) { return ((x*1.8)+32); } double ftoc(double y) { return ((y-32)/1.8); } void ender() { cout<<"Press Any Key to Exit"< getch(); }