Post a New Question

Fund of programming 1

posted by on .

Complete the following C++ program. The program should compute and output the Celsius value corresponding to the given Fahrenheit value.
// Celsius program
// This program outputs the Celsius temperature
// corresponding to a given Fahrenheit temperature
#include <iostream>
using namespace std;
int main()
const float fahrenheit = 72.0;

  • Fund of programming 1 - ,

    float celcius = (5.0/9.0)*(fahrenheit-32)

    then just output the values needed

Answer This Question

First Name:
School Subject:

Related Questions

More Related Questions

Post a New Question