Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c to fahrenheit

#include<iostream>

using namespace std;

void main() {

	float C, F;

	cout << "Enter temperature in celsius" << endl;
	cin >> C;

	F = (C * 9 / 5) + 32;
	
	cout << "Temperature in fahrenheit is: " << F << endl;



}
 
PREVIOUS NEXT
Tagged: #fahrenheit
ADD COMMENT
Topic
Name
3+4 =