Rust Program to Subtract two Numbers
Program
fn main()
{
let a = 999;
let b = 100;
let c = a - b;
println!("Difference of {0} and {1} is {2}", a, b, c);
}
Output
$ rustc SubtractTwoNumbers.rs
$ ./SubtractTwoNumbers
Difference of 999 and 100 is 899