write a program to print the even series upto to a limit (inputted by user) using FOR Loop
Answers
Answered by
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
Social Sciences,
3 days ago
English,
3 days ago
English,
3 days ago
Business Studies,
8 months ago
Environmental Sciences,
8 months ago