RosettaCodeData/Task/Flow-control-structures/11l/flow-control-structures.11l

13 lines
184 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
V n = 10
Int result
L(i) 0 .< n
I (n % 2) == 0
L.continue
I (n % i) == 0
result = i
L.break
L.was_no_break
result = -1
print(No odd factors found)