done until quiz1

This commit is contained in:
2026-07-10 13:25:51 +02:00
parent 8f249751ea
commit e84e3ac8cc
7 changed files with 26 additions and 6 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ fn is_even(num: i64) -> bool {
}
// TODO: Fix the function signature.
fn sale_price(price: i64) -> {
fn sale_price(price: i64) -> i64 {
if is_even(price) {
price - 10
} else {