#WSQ05

This is how i did this assignment

#include <iostream>
using namespace std;

int f,c;

int main(){
cout<<“Enter the temperature in Farenheit: ” << endl;
cin>>f;
c=5*(f-32)/9;
cout << f << ” deegres Farenheit are “<< c << ” celsius”<< endl;
if(c<100){
cout << “Water does not boil at this temperature (under typical conditions).” << endl;
}
else
cout <<“Water boils at this temperature” << endl;
}

CC BY-SA 4.0 #WSQ05 by codemaster2016 is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.