Ask Question
16 June, 10:08

You need to display output for all of the values between the starting and ending values. First two values are temperatures in Fahrenheit. You need to display all of the values from the first temperature to the last temperature. You increment from one temperature to the next by the increment value (the third value you read in). You need to convert these temperatures to Celsius and Kelvin. You need to output the temperatures as Fahrenheit, Celsius, and Kelvin. The numbers should be 18 characters wide with 4 digits of precision and need to be in fixed format. Do not use tab characters (/t) to output the values.

+4
Answers (1)
  1. 16 June, 11:26
    0
    Check the explanation

    Explanation:

    #include

    #include

    using namespace std;

    int main ()

    {

    double temp1, temp3, inc, cel;

    int i=1;

    while (i==1)

    {

    i=0;

    cin>>temp1>>temp3>>inc;

    if (temp3
    {

    i=1;

    cout<<"Starting temperature must be 0.0/n";

    }

    }

    cout<
    cout<
    while (temp1<=temp3)

    {

    cel = (temp1-32) / 1.8;

    cout<
    cout<
    temp1+=inc;

    }

    }
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “You need to display output for all of the values between the starting and ending values. First two values are temperatures in Fahrenheit. ...” in 📘 Engineering if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers