Added mod operator, primes program stub

This commit is contained in:
Mattia Mascarello 2021-09-29 09:01:00 +02:00
parent 4f4cb5fa6a
commit 8f74c747cd

11
examples/primes.mga Normal file
View File

@ -0,0 +1,11 @@
INT tot
INT n
INT j
INT te
IN INT tot numero massimo
SET n 0
:scn
:sieve
MOD n j te
JE sieve tot
OUT $n$