code:
#include<stdio.h> int main(){ int ; for(count=1;count<=100;count++){ if(count%2==0) continue; //continue mane erpore ja ase setar porer ongsjo r print hobe na borong increment ta add hoye jabe direct printf("Count = %d\n",count); } return 0; }
Output:
Count = 1 Count = 3 Count = 5 Count = 7 Count = 9 Count = 11 Count = 13 Count = 15 Count = 17 Count = 19 Count = 21 Count = 23 Count = 25 Count = 27 Count = 29 Count = 31 Count = 33 Count = 35 Count = 37 Count = 39 Count = 41 Count = 43 Count = 45 Count = 47 Count = 49 Count = 51 Count = 53 Count = 55 Count = 57 Count = 59 Count = 61 Count = 63 Count = 65 Count = 67 Count = 69 Count = 71 Count = 73 Count = 75 Count = 77 Count = 79 Count = 81 Count = 83 Count = 85 Count = 87 Count = 89 Count = 91 Count = 93 Count = 95 Count = 97 Count = 99 Process returned 0 (0x0 Press any key to contin
Vid: