found this online, but i tried converting it and with my small ammount of programming knowledge, i didn't get very far
Code:
#include <stdio.h>
int main() {
int x;
for (x = 0; x < 10; x++) {
if(x == 1 || x == 4 ) {
continue;
}
else if(x == 8) {
break;
}
else {
printf("x = %d", x);
}
}
return (1);
}