This commit is contained in:
2025-02-17 02:18:41 +05:30
parent 8f46fb6725
commit 1c728bddc6

10
set_alarm.v Normal file
View File

@@ -0,0 +1,10 @@
fn set_alarm(employed bool, vacation bool) bool {
return employed && !vacation
}
fn main() {
println(set_alarm(true, false))
println(set_alarm(true, true))
println(set_alarm(false, false))
println(set_alarm(false, true))
}