1use std::io;
2
3pub fn inpt() {
4 let mut input = String::new();
5 let mut input2 = String::new();
6 let mut input3 = String::new();
7 let mut input4 = String::new();
8 let mut input5 = String::new();
9 println!("What is your name? >");
10 io::stdin().read_line(&mut input).expect("Failed to read line");
11 println!("Your age? >");
12 io::stdin().read_line(&mut input2).expect("Failed to read line");
13 println!("Place of residency? >");
14 io::stdin().read_line(&mut input3).expect("Failed to read line");
15 println!("Continent? >");
16 io::stdin().read_line(&mut input4).expect("Failed to read line");
17 println!("Laptop name? >");
18 io::stdin().read_line(&mut input5).expect("Failed to read line");
19 print!("You typed: {input}, You typed: {input2}, You typed: {input3}, You typed: {input4}, You typed: {input5}");
20}
21
22pub fn done() {
23 println!("Done!!");
24 inpt();
25}