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 programming in c language,
1
3 5
7 9 11

Answer Posted / rehan

void main()
{
int i,j,k;
clrscr();
k=1;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d ",k);
k=k+2;
}
printf("\n\n");
}
getch();
}

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a program have two main functions?

1086


What is the process to generate random numbers in c programming language?

1131


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

1069


When was c language developed?

1159


What is enumerated data type in c?

1051


What is the difference between union and structure in c?

1119


Does c have class?

1072


What are qualifiers in c?

1005


What is meant by type specifiers?

1101


Why we use stdio h in c?

1002


what is the syallabus of computer science students in group- 1?

2293


What does the format %10.2 mean when included in a printf statement?

1621


What is a stream?

1099


What is a wrapper function in c?

1092


Explain 'far' and 'near' pointers in c.

1105