Skip to content

Instantly share code, notes, and snippets.

@rajrkane
rajrkane / main.rs
Created February 16, 2023 04:56
Simple Temperature Converter in Rust
use std::io;
use std::io::Write;
fn main() {
println!("Welcome to the temperature converter!");
'program: loop {
println!("--------------------");
println!("Enter 1 for °F ➔ °C.");
println!("Enter 2 for °C ➔ °F.");

Keybase proof

I hereby claim:

  • I am rajrkane on github.
  • I am rajrkane (https://keybase.io/rajrkane) on keybase.
  • I have a public key ASAipqXb1tFfVACoUO5w7VdoshS88_oaTtIi9A1LsCHatQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am rrkane on github.
  • I am rrkane (https://keybase.io/rrkane) on keybase.
  • I have a public key ASDvpLvyDCZLJ2-nfOaCg-Pq6BCKqol4GschWHkhthTHlQo

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 1AsjV2U4xuWdXxPrvUiPHUgQNUbh553toe https://explorer.blockstack.org/address/1AsjV2U4xuWdXxPrvUiPHUgQNUbh553toe