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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object and class in oops?

1062


write string class as your own class in java without using any built-in function

2494


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2317


What is byval and byref? What are differences between them?

2210


2. Give the different notations for the class.\

2156


hi all..i want to know oops concepts clearly can any1 explain??

2123


• What are the desirable attributes for memory managment?

2225


What is object in oops?

1056


What is for loop and its syntax?

1078


What is difference between inheritance and polymorphism?

1020


What is the example of polymorphism?

1122


What is the importance of oop?

1093


What is the oops and benefits of oops programming?

970


How do you define a class in oop?

1115


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2190