Jump to content

  • Log In with Google      Sign In   
  • Create Account

Tadas Talalas

Member Since 30 Dec 2011
Offline Last Active Feb 21 2016 02:52 PM

Topics I've Started

Pascal’s Triangle

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(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.

Where can I ask how to make "some" program?

26 April 2012 - 08:44 AM

Hi, I'm new here. I'm reading a book "The Art and Science of Java" and I'v encountered one exercise that I can't figure out how to make it... Where can I ask for help?