BleepingComputer.com: Programming Pascals Triangle using eclipse java

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Programming Pascals Triangle using eclipse java I have no clue how to do it

#1 User is offline   sidd0123 

  • Member
  • Find Topics
  • Group: Banned
  • Posts: 81
  • Joined: 08-December 09

Posted 04 January 2010 - 11:53 AM

This is for my computer science class, but I am having a hard time understanding how to even start this program.

He says that we need the following methods:

http://central.wmrhsd.org/FACULTY_FILES/ah...%20Triangle.pdf

[post="http://central.wmrhsd.org/FACULTY_FILES/aherzog/1477/Assignments/CS%20-%20Assignment%2004B%20-%20Pascals%20Triangle.pdf"]Methods[/post]

Can anyone help me please?

#2 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,605
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 04 January 2010 - 01:41 PM

Sure. Let's see what you have first (we won't do your homework for you).
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#3 User is offline   sidd0123 

  • Member
  • Find Topics
  • Group: Banned
  • Posts: 81
  • Joined: 08-December 09

Posted 06 January 2010 - 01:45 PM

i need some help getting started. i have never used java before. this is the first time

#4 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,605
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 06 January 2010 - 02:12 PM

So the first thing you need to do is create a main class, which is just a class that contains a main method. Surely you have seen that in your text book, or in the lectures somewhere?

public class myClass {


	public static void main(String[] args) {
		// TODO code application logic here
	}

}


Are you using an IDE?
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users