How to fix Rust E0369 binary operation not implemented

Fix Rust E0369 by ensuring both operands in a binary operation are of compatible types.

Error E0369 occurs when you attempt a binary operation on two incompatible types, such as adding a number to a string or comparing different data structures. Ensure both operands on either side of the operator are the same type or implement the required trait for that operation.

fn main() {
    let a = 5;
    let b = 10;
    // Correct: both are i32
    let sum = a + b;
    println!("{sum}");
}