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 / shaik shafi

#include<stdio.h>
#include<conio.h>
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 ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a lookup table in c?

1058


How macro execution is faster than function ?

1148


What do header files do?

1037


What is call by reference in functions?

1354


What is the advantage of a random access file?

1149


What is mean by data types in c?

982


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1409


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

1147


Is printf a keyword?

1164


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1179


What is wrong with this declaration?

1060


What are qualifiers and modifiers c?

958


What does == mean in texting?

1238


Explain why c is faster than c++?

1029


can anyone suggest some site name..where i can get some good data structure puzzles???

2038