Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 951 Bytes

README.md

File metadata and controls

43 lines (24 loc) · 951 Bytes

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.