#include<stdio.h>
int main() {
int num = 1;
do {
if(num == 6 || num==8) {
num++; (If this is not there it's going to be stuck here, never gonna be completed)
continue; (whatever after this just ignore it)
without this run one to 10
}
printf("%d is available \n", num);
num++;
}
while(num<=10);
loop from one to 10
return 0;
}
Comments
Post a Comment