Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #16927 > unrolled thread
| Started by | "Kevin Espardinez" <kevin.espardinez@1:261/38.remove-s5i-this> |
|---|---|
| First post | 2012-08-01 18:09 +0000 |
| Last post | 2012-08-07 03:28 -0700 |
| Articles | 5 — 5 participants |
Back to article view | Back to comp.lang.java.programmer
Please Help Me Guys! Need lang..it will be a pleasure and i'd be very "Kevin Espardinez" <kevin.espardinez@1:261/38.remove-s5i-this> - 2012-08-01 18:09 +0000
Re: Please Help Me Guys! Need lang..it will be a pleasure and i'd be "Lew" <lew@1:261/38.remove-s5i-this> - 2012-08-01 18:09 +0000
Re: Please Help Me Guys! Need lang..it will be a pleasure and i'd "Robert Klemme" <robert.klemme@1:261/38.remove-s5i-this> - 2012-08-01 18:09 +0000
Re: Please Help Me Guys! Need lang..it will be a pleasure and i'd "Jeff Higgins" <jeff.higgins@1:261/38.remove-s5i-this> - 2012-08-01 18:09 +0000
Re: Please Help Me Guys! Need lang..it will be a pleasure and i'd be very Roedy Green <see_website@mindprod.com.invalid> - 2012-08-07 03:28 -0700
| From | "Kevin Espardinez" <kevin.espardinez@1:261/38.remove-s5i-this> |
|---|---|
| Date | 2012-08-01 18:09 +0000 |
| Subject | Please Help Me Guys! Need lang..it will be a pleasure and i'd be very |
| Message-ID | <50197005.55894.calajapr@time.synchro.net> |
From: Kevin Espardinez <espardinez23@gmail.com> you are going to create a more specialized Taxi Meter that contains additional information for non-air and aircon taxies. Your task is to extend the TaxiMeter class that was implemented in the previous question. Add some attributes and methods that you think are needed for a non-air and aircon Taxi records. Try to override some existing methods in the superclass TaxiMeter, if you really need to. The following describe the billing for Non-air and Aircon Taxi. NON-AIRCON Flag Down P 26.00 For every 400 meters P 1.00 For every 1.5 minutes waiting P 1.00 AIRCON Flag Down P 30.00 For every 400 meters P 1.50 For every 1.0 minutes waiting P 1.50 Try to modify the TaxiMeter class to create getAmount() abstract method. This is a method for calculating the total amount to be paid. Below are the formulas: totalAmount = amountOnWait + amountOnDistanceTravelled amountOnWait = increments if waitingMinuteToIncrement is satisfied amountOnDistanceTravelled = incrementRate * (distanceTRavelled /incrementableDistance) Write two of its subclasses, the Non-air and Aircon. You can add additional methods to its subclass if you want to. --- BBBS/Li6 v4.10 Dada-1 * Origin: Prism bbs (1:261/38) --- Synchronet 3.16a-Win32 NewsLink 1.98 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [next] | [standalone]
| From | "Lew" <lew@1:261/38.remove-s5i-this> |
|---|---|
| Date | 2012-08-01 18:09 +0000 |
| Subject | Re: Please Help Me Guys! Need lang..it will be a pleasure and i'd be |
| Message-ID | <50197005.55895.calajapr@time.synchro.net> |
| In reply to | #16927 |
To: Kevin Espardinez From: Lew <lewbloch@gmail.com> Kevin Espardinez wrote: > you are going to create a more specialized Taxi Meter that contains additional information for non-air and aircon taxies. Your task is to extend the TaxiMeter class that was implemented in the previous question. Add some attributes and methods that you think are needed for a non-air and aircon Taxi records. Try to override some existing methods in the superclass TaxiMeter, if you really need to. The following describe the billing for Non-air and Aircon Taxi. > > NON-AIRCON > > Flag Down P 26.00 > > For every 400 meters P 1.00 > > For every 1.5 minutes waiting P 1.00 > > AIRCON > > Flag Down P 30.00 > > For every 400 meters P 1.50 > > For every 1.0 minutes waiting P 1.50 > > Try to modify the TaxiMeter class to create getAmount() abstract method. This is a method for calculating the total amount to be paid. Below are the formulas: > > totalAmount = amountOnWait + amountOnDistanceTravelled > > amountOnWait = increments if waitingMinuteToIncrement is satisfied > > amountOnDistanceTravelled = incrementRate * (distanceTRavelled /incrementableDistance) > > Write two of its subclasses, the Non-air and Aircon. You can add additional methods to its subclass if you want to. What is your question, Kevin? What have you done so far? Please show us the code. Consider http://sscce.org/ What is giving you trouble? This reads like homework. Is this for a class? If so, have you sought help from your professor or teaching assistants? What have they told you? Are you talking about Java, at least? Study how to ask questions on Usenet and similar forums: http://www.catb.org/~esr/faqs/smart-questions.html Right now we don't have enough information to help you. We see a textbook question, and pretty much nobody will do your homework for you. We don't hate you enough to do that. Anybody that does offer to do your assignment for you should be refused. -- Lew --- BBBS/Li6 v4.10 Dada-1 * Origin: Prism bbs (1:261/38) --- Synchronet 3.16a-Win32 NewsLink 1.98 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [next] | [standalone]
| From | "Robert Klemme" <robert.klemme@1:261/38.remove-s5i-this> |
|---|---|
| Date | 2012-08-01 18:09 +0000 |
| Subject | Re: Please Help Me Guys! Need lang..it will be a pleasure and i'd |
| Message-ID | <50197006.55901.calajapr@time.synchro.net> |
| In reply to | #16928 |
To: Lew
From: Robert Klemme <shortcutter@googlemail.com>
On 08/01/2012 03:29 AM, Lew wrote:
> Kevin Espardinez wrote:
>> Write two of its subclasses, the Non-air and Aircon. You can add additional
methods to its subclass if you want to.
>
> What is your question, Kevin?
There is no spoon, err, question - it's a command (last line). Too bad this
isn't the military - although, even then: who would follow suit? ;-)
Cheers
robert
--- BBBS/Li6 v4.10 Dada-1
* Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [next] | [standalone]
| From | "Jeff Higgins" <jeff.higgins@1:261/38.remove-s5i-this> |
|---|---|
| Date | 2012-08-01 18:09 +0000 |
| Subject | Re: Please Help Me Guys! Need lang..it will be a pleasure and i'd |
| Message-ID | <50197006.55902.calajapr@time.synchro.net> |
| In reply to | #16927 |
To: Kevin Espardinez From: Jeff Higgins <jeff@invalid.invalid> On 07/31/2012 08:48 PM, Kevin Espardinez wrote: > you are going to create a more specialized Taxi Meter <http://www.ebay.com/sch/i.html?_nkw=taxi%20meters> --- BBBS/Li6 v4.10 Dada-1 * Origin: Prism bbs (1:261/38) --- Synchronet 3.16a-Win32 NewsLink 1.98 Time Warp of the Future BBS - telnet://time.synchro.net:24
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2012-08-07 03:28 -0700 |
| Message-ID | <2er1281g95cmuuh2jqiph2r6j2ek4ghjh0@4ax.com> |
| In reply to | #16927 |
On Wed, 01 Aug 2012 18:09:34 GMT, "Kevin Espardinez" <kevin.espardinez@1:261/38.remove-s5i-this> wrote, quoted or indirectly quoted someone who said : >. Your task is to extend the TaxiMeter MY task? No that is YOUR task. See http://mindprod.com/jgloss/homework.html -- Roedy Green Canadian Mind Products http://mindprod.com The greatest shortcoming of the human race is our inability to understand the exponential function. ~ Dr. Albert A. Bartlett (born: 1923-03-21 age: 89) http://www.youtube.com/watch?v=F-QA2rkpBSY
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web