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 / mohan

#include<stdio.h>
void main(){
int i,j=1;
printf("%d\t",j);
for(i=1;i<6;i++){
j=j+i;
printf("%d\t",j);
}
}

Is This Answer Correct ?    6 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1036


Can math operations be performed on a void pointer?

1057


What is the process of writing the null pointer?

1030


FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

1757


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

2205


What is function in c with example?

1166


What is c language and why we use it?

1078


What is the right way to use errno?

1060


what is reason of your company position's in india no. 1.

2341


How will you write a code for accessing the length of an array without assigning it to another variable?

1059


Explain what are bus errors, memory faults, and core dumps?

1283


What functions are used in dynamic memory allocation in c?

1089


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

1215


What is wrong with this program statement?

1046


What are the advantages of union?

1071