// Rust does not have ternary operators // but if-else statemetn can have return value so : let i = if x > 5 { 10 } else { 7 }; // works