Printing Even Number Using Continue Statement in C Program on June 17, 2018 Get link Facebook X Pinterest Email Other Apps #include <stdio.h> int main() { int n,i; printf("\nEnter the limit : "); scanf("%d", &n); for(i=1; i<=n;i++) { if(i%2!=0) { continue; } printf("\n%d",i); } return 0; } Comments
Comments
Post a Comment