Generation

generate functionSat, 12 Nov 2022

Go get horse some food

fn feed_horse(horse: &str) { for _ in 0..5 { println!("Get {} some food", horse); } } fn main() { feed_horse("Comet"); feed_horse("Mr. Ed"); }

Questions about programming?Chat with your personal AI assistant