help pls computer coding language c and c++
Attachments:
Answers
Answered by
1
Answer:
#include<stdio.h>
int main()
{
int n,i,j;
printf("Enter a number:");
scanf("%d",&n);
printf("First %d odd numbers are:\n",n);
for(j=1,i=1;j<=n;i=i+2,j++)
{
printf("%d ",i);
}
return 0;
}
I hope it helps you.
Please mark me brainliest.
Similar questions