Jump to content

  • Log In with Google      Sign In   
  • Create Account


Pascal’s Triangle


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Tadas Talalas   Members   -  Reputation: 105

Like
0Likes
Like

Posted 28 April 2012 - 06:07 AM

Hi. How to make this program? Using eclipse. I can't figure out how to do it...



The values of the combinations method used in the text are often displayed in the
form of a triangle using the following arrangement:
C(0,0)
C(1,0) C(1,1)
C(2,0) C(2,1) C(2,2)
C(3,0) C(3,1) C(3,2) C(3,3)
C(4,0) C(4,1) C(4,2) C(4,3) C(4,4)
and so on. This figure is called Pascal’s Triangle after the seventeenth-century
French mathematician Blaise Pascal, who described it, even though it was known by
Chinese mathematicians over 2000 years ago. Pascal’s Triangle has the interesting
property that every interior entry is the sum of the two entries above it.
132 The Art and Science of Java
Write a Java GraphicsProgram that uses GLabel objects to display the first eight
rows of Pascal’s Triangle.

Sponsor:

#2 SiCrane   Moderators   -  Reputation: 9539

Like
1Likes
Like

Posted 28 April 2012 - 06:39 AM

What have you tried? What parts are you having problems with?




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS