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

What is encapsulation and abstraction? How are they implemented in C++?

0 Answers   Agilent, ZS Associates,


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

0 Answers   IBM,


what is inline function?

3 Answers  


Can abstract class have normal methods?

0 Answers  


what isthe difference between c structure and c++ class

5 Answers  


what's the basic's in dot net

0 Answers   informatics,


What is Dynamic Polymorphism?

13 Answers  


Why do we need polymorphism in c#?

0 Answers  


how much classes are used in c++

5 Answers  


What is memory leak and memory corruption?

1 Answers   TCS,


What are properties in oop?

0 Answers  


What is sub classing in c++?

1 Answers  


Categories