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

12344321
123 321
12 21
1 1 how i print this program??

Answer Posted / sunitha

for(i=1;i<=5;i++)
{
for(j=1;j<=i;i++)
{
for(k=1;k<=j;k++)

printf("%d",k);
k--;
printf("%d",k);

}
}

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many keywords are there in c?

1078


What is call by value in c?

1006


What is the difference between printf and scanf in c?

1358


Which is best book for data structures in c?

1093


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1160


What is a sequential access file?

1178


What is the difference between the = symbol and == symbol?

1122


In a switch statement, explain what will happen if a break statement is omitted?

1076


What functions are in conio h?

1205


What is getch() function?

1067


Explain what is the advantage of a random access file?

1124


What is a static variable in c?

1129


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4688


Why do we use null pointer?

1067


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1110