Contact: aviboots(AT)netvision.net.il
32,305 questions
42,480 answers
573 users
fn recursive_divide_two_numbers(a: i32, b: i32) -> i32 { if a < b { return 0; } recursive_divide_two_numbers(a - b, b) + 1 } fn main() { let a = 28; let b = 4; print!("{}", recursive_divide_two_numbers(a, b)); } /* run: 7 */