Asked by Anonymous
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;
//************************************************
// 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;
Answers
Answered by
Steve
float celcius = (5.0/9.0)*(fahrenheit-32)
then just output the values needed
then just output the values needed
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.