Write a simple C program to convert temperature in Centigrade degrees to Fahrenheit degrees.

This post content:-

  • Algorithm
  • Flowchart
  • C code
  • Output
  • Pdf notes

Algorithm:-

Step 1:- start.

Step 2:- declare variables celsius,far.

Step 3:- read variable celsius.

Step 4:- calculate the Fahrenheit degrees by using:-

far = (celsius * 9 / 5) + 32;

Step 5:- print the value of far.

Step 6:- END.


Flowchart:- 

C code:-

Output:-


Try it yourself:-

Online c compiler

Download pdf notes

Comments

Popular posts from this blog

Develop and execute C Program to Add Two Distances given in kilometer-meter Using Structures.

Find the greatest of the three numbers using conditional operators.