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

I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

2050


how to get the oracle certification? send me the answer

2101


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

1170


What is abstraction in oop?

1085


What is difference between abstraction and encapsulation?

1020


What is the use of oops?

994


Why multiple inheritance is not possible?

1018


Can you inherit a private class?

1058


What does I oop mean?

1021


How do you achieve polymorphism?

1037


What is interface? When and where is it used?

2106


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1924


What is object and class in oops?

1004


what are the different types of qualifier in java?

2217


what is graphics

2403