English, asked by iamsagnik4553, 1 month ago

write a program to print the even series upto to a limit (inputted by user) using FOR Loop

Answers

Answered by vamsitallapudi000
0

Answer:

/* c program to print even series upto a limit#/

#include<stdio.h>

void main()

{

int i,n;

printf("Enter n value:");

scanf("%d",&n);

for(i=1;i<=n;i++)

if(n/2==0)

{

printf("%d\n",i);

}

}

Explanation:

hope it helps you

Similar questions