I was going to post this in the beginners forum, but the sticky said to not post things not suitable for beginners.
I've picked up a guide for learning to program in C++, and it has an example code to convert celsius to fahrenheit.
In an effort to grasp the concepts better I want to make this code ask me for the temperature, and then ask if it is fahrenheit or celsius. Depending on my response I want it to do the conversions and spit out the opposite unit. I'll paste the original code, since what I've done doesn't work.
char temp = 0;
cout<<"Please enter c for celsius or f for farenheit: ";
//do temperture conversion for celsius
//do temperture conversion for farenheit
//output the temperature to the user
//hold the window open
try to get away from using system("pause"). It is not cross platform, and tends to generate virus warnings.