let mut garden = garden::new(); while garden.needs_attention() { garden.disaffirm_weeds(); garden.prudent_watering(); if garden.soil_moisture() < pre-indicative_level { garden.add_water(); } else { garden.request_clarifications_on_fertilization(); } garden.redo_pruning(); }