You are here:

C++/c++ program


hello sam i am trying to code this c++ program, and will run it on a windows command prompt using a compiler. it's probably simple for you:

I want to create a c++ program that converts a Fahrenheit temperature to a celsius temperature.  the program must have a main() function, a getFahrenheit() function that gets a Fahrenheit temperature from the user, and a calcCelsius() function that calculates the corresponding Celsius temperature.

What you need to do is summerized below:

double calcCelsius(double in){
 // return the converted temperature

void getFahrenheit(){
 double in, out;
 // read using cin
 out = calcCelsius(in);
 // write using cout

int main(){
 return 0;

In case you need help with details, you may email me on


All Answers

Answers by Expert:

Ask Experts




You may ask me about simple to complicated C/C++ programming methods/style and most like questions about network programming in C++.


I'm a professional programer in C++ and network/internet programming.

©2017 All rights reserved.