Initial commit

This commit is contained in:
Dimitri Lajou
2025-03-21 17:26:31 +01:00
commit 7114c0e978
115 changed files with 1760 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
FUNC VOID main()
{ INT n,i,s
n := 5
s := 0
i := n
WHILE i
DO
{ s := s + i*i
i := i - 1
}
DONE
PRINT "\n"
i := n
WHILE i-1
DO
{ PRINT i, "^2 + "
i := i - 1
}
DONE
PRINT "1^2 = ", s, "\n"
}