Created
February 25, 2020 07:49
-
-
Save ruimo/154e78619e5e1b689e3069b9cdcb5218 to your computer and use it in GitHub Desktop.
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
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