Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Tricky Java Question (HELP NEEDED)(Struggling with a question posed to me by my lecturer)
Tricky Java Question (HELP NEEDED) [message #1176582] Fri, 08 November 2013 12:25 Go to next message
Zander Kornilenko is currently offline Zander KornilenkoFriend
Messages: 1
Registered: November 2013
Junior Member
So my lecturer wants me to write what he deems as a "simple" program. The problem is that I find it far from simple... The question is as follows:

Write a program that takes in three numbers and carries out each of the following:

*Prints "increasing" and the three numbers in ascending order if they are in increasing order,

*Prints "decreasing" and the three numbers in descending order if they are in decreasing order,

*Prints "neither" otherwise.

*Next sort the numbers in ascending order if the numbers are in neither order

___________________________________________________________________________________

Any help will be much appreciated folks!

Zander
Re: Tricky Java Question (HELP NEEDED) [message #1176748 is a reply to message #1176582] Fri, 08 November 2013 14:29 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
On 11/8/2013 7:46 AM, Zander Kornilenko wrote:
> So my lecturer wants me to write what he deems as a "simple" program.
> The problem is that I find it far from simple... The question is as
> follows:
>
> Write a program that takes in three numbers and carries out each of the
> following:
>
> *Prints "increasing" and the three numbers in ascending order if they
> are in increasing order,
>
> *Prints "decreasing" and the three numbers in descending order if they
> are in decreasing order,
>
> *Prints "neither" otherwise.
>
> *Next sort the numbers in ascending order if the numbers are in neither
> order
>
> ___________________________________________________________________________________
>
>
> Any help will be much appreciated folks!
>
> Zander
The Eclipse forums are for answering questions related to using the
Eclipse tools. They are not a place for answering homework questions.
You should ask your lecturer if you have questions about your homework.
Previous Topic:Eclipse Windows not in the front MAC
Next Topic:Going nuts with project layout vs. paths on hard disk
Goto Forum:
  


Current Time: Sat Apr 27 02:56:05 GMT 2024

Powered by FUDForum. Page generated in 0.08174 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top