Skip to content

Rustlings-and-Rustaceans/celcius-to-fahreinheit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Celsius To Fahrenheit

A simple program written in Rust to convert Celsius values to Fahrenheit.

Description

The program takes a Celsius value from the terminal and outputs the equivalent value in Fahrenheit.

How to run program

  • Clone this repository
  • Change directory to project directory cd celcius-to-fahreinheit
  • Run the program cargo build

Pseudocode

  1. Start
  2. Capture Celsius celsius_value input from terminal
  3. Calculate Fahrenheit using the formula °F = (°C × 9/5) + 32
    fahreinheit_value = (celsius_value * 9/5) + 32
    
  4. Display Fahrenheit value

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages