C programming windows console application Write a program th

C++ programming windows console application!!!

Write a program that uses a for loop to display the temperature conversions for a range of centigrade temperatures to their fahrenheit equivalents. The user will be able to select the starting centigrade value arid the ending centigrade value Section 4-Week delta Lab Exercise #3//c2f.cpp//Auther//Date://Cdsplay a range of centigrade temperatures to their fahrenheit eqivalents #includeCiostrearrt> #include #include using namespace std;//declare variables return 0;}

Solution

#include <iostream>
#include <iomanip>
#include<string>

using namespace std;

int main() {
//declare variables
double start,end;
  
cout << \"Input starting value of temperature in celcius : \";
cin >> start;
  
cout << \"Input ending value of temperature in celcius : \";
cin >> end;
  
int i = 0;
  
for(i=start;i<=end;i++)
{
cout << i << \"C \\t \" << i*1.8+32 << \"F\" << endl;
}
return 0;
}//End of Main function

C++ programming windows console application!!! Write a program that uses a for loop to display the temperature conversions for a range of centigrade temperature

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site