- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Environmental Science
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- articles and Answers
- Effective Resume Writing
- HR Interview articles
- Computer Glossary
- Who is Who
How to convert temperature from degree centigrade to Fahrenheit using C
C Program to convert temperature from degree centigrade to Fahrenheit
#include <stdio.h>
int main() {
float celsius, fahrenheit;
printf("\nEnter temp in Celsius : ");
scanf("%f", &celsius);
fahrenheit = (1.8 * celsius) + 32;
printf("\nTemperature in Fahrenheit : %f ", fahrenheit);
return (0);
}
Output
Enter temp in Celsius : 32
Temperature in Fahrenheit : 89.59998
- Related Questions & Answers
- How to check the type of triangle using C
- How to Calculate Area of Right angle Triangle using C Language
- How To Clean Up Unnecessary Code From WordPress Header Without Plugins
- Write C Program to Find Largest Element in Array in C Programming
- Build a Dictionary App in HTML CSS & JavaScript
- How to Use the JavaScript Fetch API to Get Data from an API?
- How can we create recursive functions in Python?
- Santa Animation With HTML & CSS
- How To Send mail from your Gmail account using Python
- How to create a Facebook Post Box in HTML CSS & JavaScript
- Write a ‘C’ Program to compute the sum of all elements stored in an array using pointers
- How to Find Area of Scalene Triangle using C
- How to read the values of x, y and z and print the results expressions in one line using C Program
- How to Build Weather App using HTML CSS & JavaScript
- how to create an English Dictionary App using HTML & Javascript
- Write C Program to Find Smallest Element in Array in C Programming
Advertisements
ads