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 to Print Hello World
  • C Program to Delete Characters from Given String
  • C Program for Swapping of Two Numbers Without Using Third Variable
  • GCD of Two Numbers Without using LCM in C
  • Bubble Sort in C
  • Finding GCD and LCM of Given Numbers using C
  • C Program to Find Sum of Odd Integers
  • C Program to Print Reverse of a String without strrev() function
  • C program to Convert Number to Words
  • C Program to Print PRIME Numbers in a Given Range
  • C Program to Find Given Integer is Positive or Negative
  • Decimal to Binary Conversion Using C
  • C Program to find Reverse of a Number
  • C Program for Implementation of Predictive Parser
  • C Program to Implement Single Linked List Operations
  • Privacy Policy
  • Cookie Policy
© programming9.com 2025
Back to top