Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

C++ programming windows console application!!! Write a program that uses a for l

ID: 3924543 • Letter: C

Question

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;}

Explanation / Answer

#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 " << i*1.8+32 << "F" << endl;
}
return 0;
}//End of Main function

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote