1 2 3 4 5 6 7 8 9 10 11 12 13
pub fn table_function(mut table:u64,mut count_1:u64) { loop { count_1 = count_1 +1 ; let add_number = table+table; println!(" {} * {} = {}",table , count_1, add_number); if count_1 ==11 { break } } }
1 2 3 4 5 6 7 8 9 10 11 12 13
pub fn table_function(mut table:u64,mut count_1:u64) { loop { count_1 = count_1 +1 ; let add_number = table+table; println!(" {} * {} = {}",table , count_1, add_number); if count_1 ==11 { break } } }