fn main() { let sum = 10 + 4; let difference = 10 - 4; let product = 10 * 4; let quotient = 10 / 4; let remainder = 10 % 4; println!("{} {} {} {} {}", sum, difference, product, quotient, remainder); }
Click Run to execute this code.