RosettaCodeData/Task/Loops-Break/HolyC/loops-break.holyc

11 lines
128 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
U16 a, b;
while (1) {
a = RandU16 % 20;
Print("%d\n", a);
if (a == 10) break;
b = RandU16 % 20;
Print("%d\n", b);
}