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

Program to print 0 to 9 in cross order

Answer Posted / james

#include<iostream.h>

int main()
{
for(int i=0;i<=9;i++)
{
for (int j = 0; j <=i; j++)
cout << " ";
cout << i << endl;
}
}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointer in oop?

1125


What type of loop is a for loop?

1133


Why is polymorphism used?

1088


What is ambiguity in inheritance?

1172


Why do pointers exist?

1154


What is overriding in oops?

1158


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4214


What is for loop and its syntax?

1134


Why is abstraction used?

1139


Why is there no multiple inheritance?

1063


Is enum a class?

1113


Can we create object of abstract class?

1149


How do you achieve polymorphism?

1135


What is encapsulation in oops?

1071


What is coupling in oop?

1084