Saturday, October 19, 2019

Celsius To Fahrenheit Converter in C++

In this program I wrote Celsius To Fahrenheit Converter in C++ that will ask the user to give temperature in Celsius and then it will convert into Fahrenheit equivalent.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking and Arduino Project development at a very affordable price.


Sample Program Output



Program Listing

// temperature.cpp
// Author : Jake Rodriguez Pomperada,MAED-IT
// Date   : October 19, 2019  Saturday
// Email  : jakerpomperada@gmail.com

#include <iostream>
#include <iomanip>

using namespace std;

int main()
{
float c=0.00, f=0.00;
cout <<"\n\n";
cout <<"\tCelsius To Fahrenheit Converter in C++";
cout <<"\n\n";
cout << "\tGive Temperature in Celsius :";
cin >> c;
f = (1.8 * c) + 32;
cout <<"\n";
cout << setprecision(2) << fixed 
     <<"\tThe temperature in Fahrenheit is " 
     << f <<".";
    cout <<"\n\n";
cout <<"\tEnd of the Program";      
     
}






No comments:

Post a Comment