Predrok 2025 - Naloga 2
This commit is contained in:
13
prg/test.pins25
Normal file
13
prg/test.pins25
Normal file
@@ -0,0 +1,13 @@
|
||||
fun putstr(n)
|
||||
fun putint(b)
|
||||
|
||||
fun a() = putstr("a called\n\00"), 40
|
||||
fun b() = putstr("b called\n\00"), 7
|
||||
|
||||
fun main() =
|
||||
putint(10 % 7),
|
||||
putstr("\n\00"),
|
||||
putint(30 % 25),
|
||||
putstr("\n\00"),
|
||||
putint(a() % b()),
|
||||
putstr("\n\00")
|
||||
Reference in New Issue
Block a user