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

Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1261


When the macros gets expanded?

1438


Why does notstrcat(string, "!");Work?

1156


What are run-time errors?

1127


How can I sort a linked list?

1055


write a progrmm in c language take user interface generate table using for loop?

2056


What is extern c used for?

1070


What is an endless loop?

1285


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1091


What are the advantages of using macro in c language?

1143


What is file in c preprocessor?

1161


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

1109


Why & is used in c?

1199


Write a program to swap two numbers without using a temporary variable?

1138


Ow can I insert or delete a line (or record) in the middle of a file?

1008