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 is a protocol in c?

1012


Describe how arrays can be passed to a user defined function

1297


What does the function toupper() do?

1136


List the variables are used for writing doubly linked list program.

2036


What is an identifier?

1036


write a program for the normal snake games find in most of the mobiles.

2260


Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

1159


what do u mean by Direct access files? then can u explain about Direct Access Files?

2096


find out largest elemant of diagonalmatrix

2256


What is the general form of a C program?

1031


The statement, int(*x[]) () what does in indicate?

1151


What are examples of structures?

1116


Mention four important string handling functions in c languages .

1116


What is the size of a union variable?

1055


What is an auto variable in c?

1239