Skip to content

PATILYASHH/Temp-converter-C-to-F

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temperature Converter

This is a simple C program that converts temperature from Celsius to Fahrenheit.

Instructions

  1. Run the program.
  2. Enter the temperature in Celsius when prompted.
  3. The program will output the temperature in Fahrenheit.

Formula

The conversion formula used in this program is:

F = (9/5) * C + 32

Where:

  • F is the temperature in Fahrenheit
  • C is the temperature in Celsius

Usage

  1. Compile the program using a C compiler.
  2. Execute the compiled program.
  3. Enter the temperature in Celsius when prompted.
  4. The program will display the temperature in Fahrenheit.

Example

Enter Temperature in Celsius: 25

25 Celsius = 77 Fahrenheit

Note

  • Ensure that you have a C compiler installed on your system to compile and run this program.
  • This program assumes valid input (i.e., a numeric value for temperature).

Feel free to customize it further to add more details or instructions as needed.

About

Day 6 of 75 Days C programing challenge || #6 ||

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages