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


how to write a java program for an output
****0 ***01 **012 *0123 01234



how to write a java program for an output ****0 ***01 **012 *0123 01234..

Answer / adeel

#include<iostream>

using namespace std;

int main()
{
int i,j;
for(i=0; i<=5; i++)
for(j=1; j<=i; j++)

cout<<j;

system("pause");
return 0;
}

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More OOPS Interview Questions

Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.

2 Answers  


What is the types of inheritance?

0 Answers  


When you define a integer it gets stored in which data structure?(Stack or a heap)

2 Answers   emc2,


What are the 4 pillars of oop?

0 Answers  


What is persistence in oop?

0 Answers  


How to call a non virtual function in the derived class by using base class pointer

3 Answers   HCL,


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

0 Answers   HCL,


why freind function takes more parameter than normal member function in c++?

1 Answers   IBM,


What is encapsulation process?

0 Answers  


What is encapsulation c#?

0 Answers  


What is property in oops?

0 Answers  


What is inheritance and how many types of inheritance?

0 Answers  


Categories