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
Physics,
18 days ago
Hindi,
18 days ago
Physics,
18 days ago
Math,
1 month ago
Business Studies,
9 months ago
Environmental Sciences,
9 months ago