programming9
  • Flowcharts
  • Programs
      • Back
      • C Programs
      • C++ Programs
      • Java Programs
      • Python Codes
      • HTML Codes
      • Java Script Codes
      • SQL Codes
  • Tutorials
      • Back
      • Java Tutorials
      • Competitive Programming
      • Python Tutorials
      • C Programming
  • Blog
  • Login

C Program to convert Celsius to Fahrenheit

Details
Written by: RajaSekhar
Category: C Programs
  • basic c programs
  • cprogram
  • celsius
  • fahrenheit
#include<stdio.h>
#include<conio.h>

void main()
{
    float celsius,fahrenheit;
    clrscr();

    printf("\n Enter the Temparature in Celsius : ");
    scanf("%f",&celsius);

    fahrenheit = (1.8 * celsius) + 32;
    printf("\n Temperature in Fahrenheit : %f ",fahrenheit);

    getch();
}

 OUTPUT:

Enter the Temparature in Celsius : 31

Temperature in Fahrenheit : 87.800003
Previous article: C Program for Finding Factorial of a Number Prev Next article: C Program to Find Biggest among Three Numbers Next
  • C Program for Sum of Squares of Numbers from 1 to n
  • C Program to Find Sum of All Array Values
  • C Program to Implement RADIX SORT
  • C Program to Solve Tower of Hanoi Problem Using Recursive and Non-Recursive
  • C Program to Calculate Sum of Marks to Demonstrate Structures
  • C Program for LINEAR SEARCH
  • C Program to Perform Operations on Doubly Linked List
  • C Program to Perform Arithmetic Operations Using Switch
  • C Program to Find Area and Circumference of a circle.
  • C Program to Find Factorial of a Number using Functions
  • Page Replacement Programs in C
  • C Program to Convert Infix to Postfix Expression using Stack
  • FCFS CPU Scheduling Algorithm Simulation Using C
  • C Program to Find an Element Using Linear Search
  • C Program to Calculate Sum of Odd Values in an Array
  • Privacy Policy
  • Cookie Policy
© programming9.com 2025
Back to top