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