Solve Program

Ads
 

Solve Program

View Answers

September 29, 2008 at 10:18 AM

use this block of code in your program

for(int i =5 ; i>=1 ; i--){
for(int j=i; j>=1; j--){
System.out.print(j);
}
System.out.println();
}



Rajanikant

September 29, 2008 at 1:13 PM

Hi Friend,

Code to display the design Series :


class DesginProgram
{
public static void main(String[] args)
{
for(int k=5 ; k>=1 ;k--)
{
for(int m=k; m>=1; m--){
System.out.print(" " + m+" ");
}
System.out.println();
}
}
}

For read more information :

http://www.roseindia.net/java/

Thanks

Ads









Related Tutorials/Questions & Answers:
A Program To Solve In Java
A Program To Solve In Java  x!/x+(x+2)!/x+(x+4)!/x ... (x+n)!/x
please solve this program
please solve this program  Build a package EMPPACK that contains one stored function Validatesal() and two stored procedures Insertemp() and Getempdetails().The Insert_emp() procedure inserts a particular employee
Advertisements
write a java program to solve the infix expression
write a java program to solve the infix expression  ==>> solve the below expression using java program: 2+5*2-5+6/2 using stack operations or any other process in java
Solve it
Solve it  How to calculate the value which contains oparator and operand both using command line argument
solve this
solve this   Create a student class. The student object should have studentid, studentname, subject and marks as properties. Also generate the getter and setter methods. Create 5 objects of this class and populate values
solve this pbm
solve this pbm  sir rows are also inserting i have checked in the database also the rows are not affected in the table . The first pbm wich i have... can execute the program
solve this pbm
solve this pbm  its not working the code for databae access using servlets
ModuleNotFoundError: No module named 'solve'
ModuleNotFoundError: No module named 'solve'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'solve' How to remove the ModuleNotFoundError: No module named 'solve'
how to solve
how to solve   log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources). log4j:WARN Please initialize the log4j system properly
Solve
solve this problem
solve this problem  I typed this program and compiled.The program is compiled but when i eneterd url in tomcat server. Its not giving error but only...){ System.out.println(e); } } } XML File for this program <
how to solve this..
how to solve this..  Given a list of students and their marks Name | Science | Math | English | Computer Ahmad | 28 | 100 | 66 | 34 Samad | 56 | 89 | 55
how to solve this..
how to solve this..  Given a list of students and their marks Name | Science | Math | English | Computer Ahmad | 28 | 100 | 66 | 34 Samad | 56 | 89 | 55
help me to solve this question
help me to solve this question  Write a program that inputs a series of integers into an array. The numbers are in the range 0 to 100. Calculate and display : a) The Largest number b) The Smallest Number c)The sum of the numbers
ModuleNotFoundError: No module named 'flood-solve'
ModuleNotFoundError: No module named 'flood-solve'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'flood-solve' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'flood-solve'
ModuleNotFoundError: No module named 'flood-solve'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'flood-solve' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'magiceye_solve'
ModuleNotFoundError: No module named 'magiceye_solve'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'magiceye_solve' How to remove the ModuleNotFoundError: No module named
ModuleNotFoundError: No module named 'solve-instrument'
ModuleNotFoundError: No module named 'solve-instrument'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'solve-instrument' How to remove the ModuleNotFoundError: No module
ModuleNotFoundError: No module named 'sudoku-solve'
ModuleNotFoundError: No module named 'sudoku-solve'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'sudoku-solve' How to remove the ModuleNotFoundError: No module named '
ModuleNotFoundError: No module named 'sudoku-solve'
ModuleNotFoundError: No module named 'sudoku-solve'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'sudoku-solve' How to remove the ModuleNotFoundError: No module named '
please solve the programme
please solve the programme  Develop a java program to find the roots of a quadratic equation ax2+bx+c=0, with the following specification :- Class name :- Quad Data members float a,b,c,d, with a,b,c are the co-efficient
help me to solve this question...
help me to solve this question...  Given below is a class definition for Book. Type and compile the class, and answer the following questions... price; } } Write a program in a class TestBook that can do the following: Read
help me to solve this problem..
help me to solve this problem..  Given below is a class definition for Book. Type and compile the class, and answer the following questions: class...; } } Write a program in a class TestBook that can do the following: Read
ModuleNotFoundError: No module named 'solve-some-problems'
ModuleNotFoundError: No module named 'solve-some-problems'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'solve-some-problems' How to remove the ModuleNotFoundError
ModuleNotFoundError: No module named 'solve-some-problems'
ModuleNotFoundError: No module named 'solve-some-problems'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'solve-some-problems' How to remove the ModuleNotFoundError
program
program  write a javascript program to create a application form with validation
program
program  write a html program in show table and this word in box
program
program  write a program different between to dates in terms of days in java
program
program  write a program reversee a string. input-hi this is roseindia output-roseindia is this hi
program
program  develop a servlet to insert the data in the database from our program in the table stored in the database
program
program  WAP a java program to form 1/2+3/4+5/6+7/8 series

Ads