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

11 lines
128 B
Text
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
U16 a, b;
while (1) {
a = RandU16 % 20;
Print("%d\n", a);
2018-06-22 20:57:24 +00:00
if (a == 10) break;
2017-09-23 10:01:46 +02:00
b = RandU16 % 20;
Print("%d\n", b);
}