
samples.statements.while-break.pec Maven / Gradle / Ivy
define main as method doing:
total = 0
i = 0
while i < 10:
total = total + i
i = i + 1
if total > 10:
break
printLine "total = " + total
© 2015 - 2025 Weber Informatics LLC | Privacy Policy