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...

please give code for this 1 2 4 7 11 16

Answer Posted / santhoshreddy katam

#include<stdio.h>
#include<conio.h>
void main()
{
int a=1;
for(int i=0;i<=5;i++)
{
a=a+i;
printf("%d/n", a);
getch();
}
}

Is This Answer Correct ?    36 Yes 40 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the features of the c language?

1039


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2566


What is #pragma statements?

1058


What are the functions to open and close the file in c language?

990


What is array of structure in c?

1102


What is volatile variable in c?

1057


In c programming language, how many parameters can be passed to a function ?

1057


What is operator precedence?

1154


What is int main () in c?

1037


Why doesnt the call scanf work?

1142


What is pointer & why it is used?

1064


given post order,in order construct the corresponding binary tree

2730


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

1953


Is c dynamically typed?

1095


What are the uses of a pointer?

1105