Results 1 to 6 of 6
- 01-16-2008, 04:23 PM #1
Member
- Join Date
- Jan 2008
- Posts
- 1
- Rep Power
- 0
java programming challenge Number 1
define a class for rational numbers. represent rational numbers as two values of the type int, one for the numerator and one for the denominator your class should have two instance variables of type int call the class rational include a constructor with two arguments that can be used to set the instance variables of an object to any values. also include a constructor that has only a single parameter of type int; call this single parameter whole Number/1. also include a no-argument constructor that initializes an object to 0(that is, to 0/1). Note that the numerator, the denominator or both my contain a minus sign. send me working code to sendtomejava@gmail.com and I will post who has given me the best version of this code...
- 01-16-2008, 05:21 PM #2
What?
Are you trying to get us to work for you for free? :confused:
Eyes dwelling into the past are blind to what lies in the future. Step carefully.
- 01-16-2008, 05:42 PM #3
You are right Tim. "Forum Lobby" is not the place to post such questions. I am moving this thread and giving a negative reputation for this user. You can do the same :)
- 01-16-2008, 06:48 PM #4
Off to a great start there tacosalad. The programming challenge proposal was for challenges that of an official nature, not homework problems. One example of such a challenge can be found at the SPOJ. Nice try though.
Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? Vote now!
Got a little Capt'n in you? (drink responsibly)
- 01-16-2008, 10:19 PM #5
- 01-16-2008, 10:25 PM #6
And by the way, this is most homework assignment challenge ever. What kind of "challenge" actually tells you what constructors you need lol. It's like. Yeah, make a class that my teacher will like, whoops, i mean, contains a constructor that calls for a String lol. Oh! and make sure to send me this code so i can evaluate your code, I am a pro and i will be the judge
Come on, just be honest. If you want people to do your assignments, say so, don't lie to us.
So now, we just have to hope JavaForums accepts my idea about the challenges section of the site.
Similar Threads
-
Java networking programming (II)
By Java Tutorial in forum Java TutorialReplies: 0Last Post: 12-27-2007, 06:19 PM -
java game programming
By gammaman in forum New To JavaReplies: 1Last Post: 12-25-2007, 01:01 AM -
Java networking programming (I)
By Java Tutorial in forum Java TutorialReplies: 0Last Post: 12-24-2007, 07:21 PM -
Java Programming
By JavaForums in forum Java TutorialReplies: 0Last Post: 07-28-2007, 11:10 PM -
The Million Musician Challenge 0.821
By levent in forum Java SoftwareReplies: 0Last Post: 05-25-2007, 07:39 AM


LinkBack URL
About LinkBacks
Reply With Quote


Bookmarks