fn main(){ let mut sum = 0.0; for i in 0..4 { sum += i as f64; } println!("sum is {}", sum); }