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

what value is returned to operating system after program execution?

2125


What is c language & why it is used?

1116


Explain how does free() know explain how much memory to release?

1080


please send me the code for multiplying sparse matrix using c

2182


What are the advantages of using Unions?

1122


What is the use of f in c?

984


When should we use pointers in a c program?

1143


Explain how do you declare an array that will hold more than 64kb of data?

1456


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1264


What is infinite loop?

1092


What is the symbol indicated the c-preprocessor?

1254


What are integer variable, floating-point variable and character variable?

1263


What does the characters “r” and “w” mean when writing programs that will make use of files?

1486


Is exit(status) truly equivalent to returning the same status from main?

1077


What is sizeof c?

1081