Rust Program to Multiply Two Numbers

Program

fn main()
{
    let a = 50;
    let b = 20;
    let c = a * b;
    println!("Product of {0} and {1} is {2}", a, b, c);
}

Output

$ rustc MultiplyTwoNumbers.rs
$ ./MultiplyTwoNumbers 
Product of 50 and 20 is 1000