I really want to know how to use OOp and I wanna know how to make classes and how to use methods in java. If u will be given this problem:
problem:
Create a Statistical Program with the following methods:
*enterInput()
*getCount()
*getMean()
*getMinimumNumber()
*getMaximumNumber()
the user can freely enter inputs(integer) but when it hits 0 the program will end its task.
Sample output:
Enter Integer:
1
5
8
0
Display Count: 3 //in count it will not include 0
Mean: 4.666667
Minimum: 1
Maximum: 8
I am just a beginner in java..thanks in advance:)
This post has been edited by smile_myglitz08: 13 August 2008 - 04:13 AM

New Topic/Question
Reply



MultiQuote







|