use easy_io::*;
use std::io::Write;
fn main() {
print_banner("Easy I/O Demo");
let name = input("What's your name? ");
let value = input_smart("Enter any value (number, bool, or text): ");
success(&format!("Hello {}!", name));
info(&format!("You entered: {}", value));
if confirm("Want to see a table?") {
print_table(vec![
vec!["Name", "Value", "Type"],
vec![&name, &value.to_string(), "User Input"]
]);
}
success("Demo completed!");
}