Closed itzmahi07 closed 3 years ago
int main() { int i, n;
printf("Print odd numbers till: "); scanf("%d", &n); printf("All odd numbers from 1 to %d are: \n", n); for(i=1; i<=n; i+=2) { printf("%d\n", i); } return 0;
}
include
int main() { int i, n;
}