-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:Ngha-Boris/Temperature_Converter
- Loading branch information
Showing
1 changed file
with
15 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,19 @@ | ||
Converter | ||
--------- | ||
Description: | ||
This project is implemented using rust. | ||
The project is aimed at converting temperatures from degree celsius to fahrenheit and also from fahrenheit back to degree celsius. | ||
# Converter | ||
This is a simple Rust application that allows users to convert temperatures between Fahrenheit and Celsius. The app is built using two main files: | ||
### Running the Application | ||
- To run the application locally, use the following command: | ||
```bash | ||
cargo run | ||
``` | ||
- The program will prompt you to select a conversion type: | ||
```bash | ||
Hello there, welcome! let's do some conversions 😎😊😊 | ||
Please select the conversion type | ||
1. Fahrenheit to Celsius | ||
2. Celsius to Fahrenheit | ||
3. Exit Program | ||
``` | ||
Installation | ||
------------ | ||
**Be sure to use the same version of the code as the version of the docs | ||
you're reading.** You probably want the latest tagged version, but the | ||
default Git version is the main branch. :: | ||
# clone the repository | ||
$ [email protected]:Ngha-Boris/Temperature_Converter.git | ||
|
||
$ cd converter | ||
Run | ||
--- | ||
|
||
.. code-block:: text | ||
|
||
$ cargo build | ||
$ cargo check | ||
$ cargo run | ||