Write a program to accept a number and to print numbers in
pyramid format?
for eg:for a no. 5
1
212
32123
4321234
543212345

Answer Posted / fekedabekele

write program using java
1
212
32123
3421234
234512345

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two different types of polymorphism?

673


What are the benefits of oop?

607


What is inheritance and how many types of inheritance?

622


explain sub-type and sub class? atleast u have differ it into 4 points?

1839


What is the real time example of inheritance?

645






What does no cap mean?

592


What is polymorphism programming?

607


What is polymorphism in oops with example?

533


What is destructor oops?

625


What is the fundamental idea of oop?

638


What is solid in oops?

617


How is polymorphism achieved?

587


Can main method override?

587


What is overriding in oops?

606


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

1671