Tell me C program to make a list of first 20 odd numbers..
Answers
Answered by
1
int odd;
for(odd=1; odd <= 20; odd++)
{
if(odd%2 == 1)
{
printf(%d",odd)
}
}
Hope this helps!
for(odd=1; odd <= 20; odd++)
{
if(odd%2 == 1)
{
printf(%d",odd)
}
}
Hope this helps!
Similar questions