C Program to generate even numbers upto n Posted by Shrinidhi Katti Get link Facebook X Pinterest Email Other Apps #include<stdio.h> int main() { int n,i; printf("enter the number \n"); scanf("%d",&n); printf("The even number series is:\n"); for(i=0;i<=n;i=i+2) { printf("%d\t",i); } } Comments UnknownNovember 7, 2021 at 3:26 AMSReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
S
ReplyDelete