Respuesta :
Answer:
celsius = float(input("Enter the celcius value: "))
f = 1.8 * celsius + 32
print(str(celsius) + " C = "+ str(f) + " F")
Explanation:
The code is in Python.
Ask the user for the input, celsius value
Convert the celsius value to fahrenheit using the given formula
Print the result as in shown in the example output
Answer:
See explaination
Explanation:
#include<iostream>
#include<iomanip>
using namespace std;
int main(){
double tempF, tempC;
cout<<"Enter a degree in Celsius: ";
cin>>tempC;
tempF = tempC*(9/5.0)+32;
cout<<setprecision(1)<<fixed;
cout<<tempC<<" C = "<<tempF<<" F"<<endl;
return 0;
}