Using match and guards. Rust. if c1 { f1() } else if c2 { f2() } else if c3 { f3() } ... assume that f, g, and h are procedure and that a and b are Boolean.
確定! 回上一頁