Predrok 2025 - Naloga 2

This commit is contained in:
Gašper Dobrovoljc
2025-06-04 14:19:59 +02:00
parent 1b45d6a0f9
commit 6a7ac2a6f8
4 changed files with 96 additions and 20 deletions

13
prg/test.pins25 Normal file
View 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")