Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Programming Pascals Triangle using eclipse java


  • Please log in to reply
3 replies to this topic

#1 sidd0123

sidd0123

  • Banned
  • 81 posts
  • OFFLINE
  •  
  • Local time:01:50 AM

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?

BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:11:50 PM

Posted 04 January 2010 - 01:41 PM

Sure. Let's see what you have first (we won't do your homework for you).

#3 sidd0123

sidd0123
  • Topic Starter

  • Banned
  • 81 posts
  • OFFLINE
  •  
  • Local time:01:50 AM

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 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:11:50 PM

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?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users