Add basic Input validation for if user enters digit or 'q' as a choice

This commit is contained in:
James Musselman 2024-03-14 14:47:48 -05:00
parent 61edfcdeb9
commit c7df2bd546
Signed by: Musselman
GPG key ID: 1DAEFF35ECB5D6DB
3 changed files with 64 additions and 0 deletions

8
Cargo.toml Normal file
View file

@ -0,0 +1,8 @@
[package]
name = "math-tool"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]