update
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
/* --------------------------------------------- 100 -------------------------------------------- */
|
||||
use std::io;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
println!("Guess the number!");
|
||||
println!("Please input your guess.");
|
||||
let mut guess = String::new();
|
||||
io::stdin()
|
||||
.read_line(&mut guess)
|
||||
.expect("Failed to read line!");
|
||||
println!("You guessed: {guess}");
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user