Skip to content

Instantly share code, notes, and snippets.

@ruimo
Created February 25, 2020 07:49
Show Gist options
  • Save ruimo/154e78619e5e1b689e3069b9cdcb5218 to your computer and use it in GitHub Desktop.
Save ruimo/154e78619e5e1b689e3069b9cdcb5218 to your computer and use it in GitHub Desktop.
use std::io;
fn main() {
println!("Input number!");
let mut inp = String::new();
io::stdin().read_line(&mut inp);
println!("Your input is: {}", inp);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment