This commit is contained in:
2023-05-06 23:18:57 +03:00
parent af7af4d6f2
commit 83b275cefd
170 changed files with 104 additions and 0 deletions

15
Rust/lab_1/src/main.rs Normal file
View File

@@ -0,0 +1,15 @@
fn main() {
// use text_io::scan;
use text_io::read;
print!("Input: ");
// read until a whitespace and try to convert what was read into an i32
let a: i32 = read!();
/* let i: u32;
print!("Input: ");
scan!("{}", i); */
println!("You have input: {}", a);
}