use vendor::stalewindow::stalewindow; fn main() { let age = 11.0; let lifetime = 10.0; let grace = 4.0; let mandatory = 0.0; let result = stalewindow_classify(age, lifetime, grace, mandatory); if len(result) == 0 { println!("invalid"); return; } let mut i = 0; while i < len(result) { println!(at(result, i)); i += 1; } }