Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program for odd numbers?

Answer Posted / roopali

#include<stdio.h>
void main()
{
int i;
clrscr();
printf("\n odd numbers?");
scanf("%d",&n);
for(i=0;i<=n;i++)
print i=i+1;
printf("\n %d",i);
getch();
}

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

1067


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1242


What is c language in simple words?

1012


Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1154


Are the variables argc and argv are always local to main?

970


What is the use of f in c?

933


a program that can input number of records and can view it again the record

1863


Is c is a low level language?

1067


Do you know the use of fflush() function?

1011


Explain what is a program flowchart and explain how does it help in writing a program?

1043


What Is The Difference Between Null And Void Pointer?

1156


What is a pointer value and address in c?

1057


What is the modulus operator?

1152


Compare interpreters and compilers.

1027


Which built-in library function can be used to match a patter from the string?

1236