- 3
How to User input in Rust?
How do I make user input in Rust?
2 ответов
0
Seriously. Just Google it. This is not the kind of question you should be asking here.
0
use std::io;
println!("Enter your input: ");
let mut input = String::new();
io::stdin().read_line(&mut input).expect("Readline error!");
println!("You have input {}, input);