- 2
How to print series(7,5,8,6,9..)in c program.
3 Réponses
0
What is the pattern even?
0
int a=7,b=5,i,n;
scanf("%d",&n);
printf("%d %d",a,b);
for(i=3;i<=n;i++)
{
if((i%2)==1)
{
a=a+1;
printf("%d",a);
}
else
{
b=b+1;
printf("%d",b);
}
}
0
(7% (5//52)