Skip to content

CLI rust: convert temperatures between Fahrenheit and Celsius.

Notifications You must be signed in to change notification settings

haritonov2/temperature_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temperature Converter

This repository contains a Rust-based application to convert temperatures between Fahrenheit and Celsius.

Overview

This project provides a straightforward implementation to convert temperatures from Fahrenheit to Celsius and vice versa. It features an interactive CLI for user input and output.

Features

  • Rust Implementation: Utilizes Rust for efficient and reliable performance.
  • Interactive CLI: User-friendly command-line interface for input and output.
  • Bidirectional Conversion: Supports conversions from Fahrenheit to Celsius and Celsius to Fahrenheit.

Getting Started

Follow these instructions to set up and run the project on your local machine.

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/temperature-converter.git
    cd temperature-converter
    
  2. Build the project:
    cargo build
    

Usage

Run the following command and follow the prompt:

cargo run

Example

$ cargo run
Welcome to Temperature Converter!
Please select a direction of conversion:
Celsius to Fahrenheit: 1
Fahrenheit to Celsius: 2
1
Please enter Celsius number:
100
Celsius: 100 => 230

About

CLI rust: convert temperatures between Fahrenheit and Celsius.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages