Exercise 14

This commit is contained in:
akshitgautam42 2023-11-11 20:35:41 +05:30
parent 1aed8d48f6
commit 97ee2ccda6

View File

@ -2,13 +2,13 @@
//
// Execute `rustlings hint if1` or use the `hint` watch subcommand for a hint.
// I AM NOT DONE
pub fn bigger(a: i32, b: i32) -> i32 {
// Complete this function to return the bigger number!
// Do not use:
// - another function call
// - additional variables
if a < b {
return b
}
return a
}
// Don't mind this for now :)