0
How to implement methods?
Although, I already did a working code. Where, sorts the integers in ascending order, computes the sum, and finds the smallest and largest number. I am now faced with a task that says: ---- You should create different method implementations for sorting the integers in ascending order, compute the sum, find the smallest number and find the largest number. The list of positive of positive integers should be stored in an array for easy implementation ---- I already search the internet but I still can't understand how to implement methods. If you know, can you show an example out of my code? https://code.sololearn.com/cVpf4LjAikrB/?ref=app
3 ответов
+ 2
Ali Abdul
And you have still only completed 1% of the Java course since you asked a variation of this question yesterday.
Do the hard yards, do the course and learn!
+ 2
I answered here
https://www.sololearn.com/Discuss/2890402/?ref=app
older discussion
https://www.sololearn.com/Discuss/2890623/?ref=app