use inquire::Text; mod mpn; fn main() { let a = Text::new("Введите число:").prompt().unwrap(); let a = mpn::Number::parse(&a).unwrap(); let b = Text::new("Введите число:").prompt().unwrap(); let b = mpn::Number::parse(&b).unwrap(); let c = a + b; println!("Number: {}", c); }