id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

quiz02_20_2017_greatestNum_APSLHL


Write a method that returns the greatest number in an array of numbers 'nums'. Note that 'nums' can contain any number of any integers, including negatives and zero.


quiz02_20_2017_greatestNum_APSLHL([5, 7, 3, 8, 2, 1, 4, 6]) → 8
quiz02_20_2017_greatestNum_APSLHL([7, 6, 5, 4, 3, 2, 1]) → 7
quiz02_20_2017_greatestNum_APSLHL([9]) → 9

...Save, Compile, Run (ctrl-enter)

public int quiz02_20_2017_greatestNum_APSLHL(int[] nums) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 290

Copyright Nick Parlante 2017 - privacy