- 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
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- 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 find gretest in 3 number using C Programming
- Write C program to find Exponent Power Series
- Write C Program to Find Smallest Element in Array in C Programming
- How to Find Area of Scalene Triangle using C
- How to Solve Second Order Quadratic Equation Using C Program
- How To Clean Up Unnecessary Code From WordPress Header Without Plugins
- Write C Program to Find Largest Element in Array in C Programming
- How To Send mail from your Gmail account using Python
- Write C Program to Merge Two arrays in C Programming
- Find Second largest element in an array using C Programming
- How to check the type of triangle using C
- How to redirect HTTP to HTTPS Using htaccess
- How to reverse a given number using C
- Write C Program to Delete duplicate elements from an array
- Write a C program using pointers to read in an array of integers and print its elements in reverse order.
- Write C Program to Find Factorial of Number Using Recursion
Advertisements
ads