input_table/
lib.rs

1pub fn table(input:u32){
2
3    for i in 1..11{
4
5        println!("{} * {} = {}", input, i, input*i);
6    }
7}