Horje
c++ program to convert celsius to fahrenheit Code Example
c++ program to convert celsius to fahrenheit
#include<iostream>
using namespace std;
float scropio(float happy);
int main()
{
	float celcious;
	float fahrenhiet;
	cout<<"Please enter the tem in Celcious=";
	cin>>celcious;
	cout<<"F.";
	fahrenhiet=scropio(celcious);
	cout<<"\nFahrenhiet="<<fahrenhiet<<" F."<<endl;
	cout<<endl;
	return 0;
}
float scropio(float celcious)
{
	float fahrenhiet;
	fahrenhiet = ((celcious+32)*9/5);
	return fahrenhiet;
}
c++ program to convert fahrenheit to celsius
#include<iostream>
using namespace std;
float scropio(float happy);
int main()
{
	float celcious;
	float fahrenhiet;
	cout<<"Please enter the tem in Fahrenhiet=";
	cin>>fahrenhiet;;
	cout<<"F.";
	celcious=scropio(fahrenhiet);
	cout<<"\nCelcious="<<celcious<<" C."<<endl;
	cout<<endl;
	return 0;
}
float scropio(float fahrenhiet)
{
	float celcious;
	celcious = ((fahrenhiet-32)*5/9);
	return celcious;
}




Cpp

Related
maximum subarray leetcode c++ Code Example maximum subarray leetcode c++ Code Example
how to setup glut main loop Code Example how to setup glut main loop Code Example
c++ write number to registry Code Example c++ write number to registry Code Example
9+20 Code Example 9+20 Code Example
ifstream file (“code2.txt”); dev C++ Code Example ifstream file (“code2.txt”); dev C++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8