Comparison Operators With Variables
We can also use variables for the values to compare.
is the value less?
no
SOURCE CODE
fn main() {
let alfa = 7;
let bravo = 3;
let charlie = 9;
println!("is {alfa} + {bravo} less than {charlie}?");
if alfa + bravo < charlie {
println!("yes");
} else {
println!("no");
}
}