diff options
| author | Andrew Guschin <guschin.drew@gmail.com> | 2022-10-13 15:20:45 +0400 |
|---|---|---|
| committer | Andrew Guschin <guschin.drew@gmail.com> | 2022-10-13 15:20:45 +0400 |
| commit | f6e805c2b11c7a31d7cca0af81f99ba33847ede9 (patch) | |
| tree | 755fd05e71360028008793f03169fd10711a615a | |
| parent | 1136cb55620a16a93f9847d6d670503857900c91 (diff) | |
Добавлено предложение ввода в третьей лабе
| -rw-r--r-- | lab3/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lab3/src/main.rs b/lab3/src/main.rs index 01fae91..ec002c0 100644 --- a/lab3/src/main.rs +++ b/lab3/src/main.rs @@ -3,6 +3,7 @@ use std::io; fn main() { + println!("Введите положительное число:"); let mut p = String::new(); let stdin = io::stdin(); match stdin.read_line(&mut p) { |