Re: program
From: David Segall (david_at_nowherel.net)
Date: 02/02/05
- Next message: David Van de Voorde: "Re: abstract"
- Previous message: Tom Dyess: "Re: Is perl better? :((("
- In reply to: anonymous: "Re: program"
- Next in thread: Phil Staite: "Re: program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 02 Feb 2005 13:29:13 GMT
anonymous <forgetme@nowhere.com> wrote:
>mehak gupta via JavaKB.com wrote:
>> i would to get the solution for the following program.
>>
>> Write a complete Java program that does the following:
>> Prompt the user to type in the hour and minute departure time for an
>> airline flight.
>> Prompt the user to type in the hour and minute arrival time for that
>> flight. (Note: assume that the flight occurs in just one afternoon, leaving
>> at or after 1:00 and arriving at or before 12:59. Assume also that the user
>> provides valid input values!)
>> Calculate the total number of minutes the flight will be in the air.
>> Display the departure time, the arrival time, and the flight time (in
>> minutes) of the flight.
>>
>
>Man, I don't get it. Why do these people bother attending any kind of
>education in the first place? Why not rob banks for a living?
Robbing banks is much more difficult than programming. That is why
there are a few dozen bank robbers and thousands of programmers.
- Next message: David Van de Voorde: "Re: abstract"
- Previous message: Tom Dyess: "Re: Is perl better? :((("
- In reply to: anonymous: "Re: program"
- Next in thread: Phil Staite: "Re: program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|