How to add two numbers in Rust

1 Answer

0 votes
fn main() {
    let x = 4;
    let y = 9;

    let sum = x + y;

    println!("{} ", sum);
}




/*
run:
   
13
   
*/

 



answered Sep 29, 2022 by avibootz
...