Rust Program to print Multiplication Table

Program

fn main()  
{  
    let mut value;  
    for i in 1..11  
    {  
        value = 15 * i;  
        println!("15 * {} = {}",i,value);  
    }  
}

Output

$ rustc PrintMultiplicationTable.rs
$ ./PrintMultiplicationTable 
15 * 1 = 15
15 * 2 = 30
15 * 3 = 45
15 * 4 = 60
15 * 5 = 75
15 * 6 = 90
15 * 7 = 105
15 * 8 = 120
15 * 9 = 135
15 * 10 = 150