UrbanPro
true

Search in

Pattern Slove

BISHAL SAHA
19/09/2017 0 0

Output:

15  14 13 12 11

10  9   8   7

6    5    4

3    2

1

public class Q19c
{
public static void main(String args[])
{
int b=5,c=5;
for(int i=15; i>=1; i--)
{
System.out.print(i+"\t");
if((16-i)==b)
{
System.out.println();
c--;
b=b+c;
}
}
}
}

0 Dislike
Follow 2

Please Enter a comment

Submit

Other Lessons for You

English Language
Exercise on Modals: (Class 8) Why ________ I care about your problems? (Can/should) Tom and Rebecca give their daughter a lot of presents. They ________ really love her. (can/must) We ________ go...
M

M. Mallick

0 0
0

SPECIAL EVENTS IN PARTNERSHIP
SPECIAL EVENTS IN PARTNERSHIP Admission Retirement Death Change in Ratio Combination When a New partner is admitted what are the changes occur? What are the things unavoidable changes? Can...
F

How to Study Maths: 7 Tips for Solving Maths Problems
Maths is one of those subjects which you can easily spend hours studying but end up none the wiser. However much you have studied, if you can not solve the problem on day of the test, you are lost. Thankfully,...

"Exploring Viroids: Unveiling Small RNA Agents and Their Impact on Plant Health
Viroids: Small RNA Infectious Agents Introduction to Viroids: Viroids are unique infectious agents made up of small, single-stranded RNA molecules. Unlike viruses, viroids do not have a protein...

Probability Class 10
This lesson is so easy for class 10 Maharashtra and CBSE board. Students can easily score good marks. For example:Let's take an example.When a coin is tossed, what is the probability that no heads turn...
X

Looking for CBSE Schools Classes?

The best tutors for CBSE Schools Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn CBSE Schools with the Best Tutors

The best Tutors for CBSE Schools Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more