Skip to main content



      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 07:25 Go to next message
Eclipse UserFriend
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 09:29 Go to previous message
Eclipse UserFriend
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: Mon Jul 14 09:16:26 EDT 2025

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

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

Back to the top