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

 

norm.krumpe@muohio.edu homework4 > maxBelow50
prev  |  next  |  chance

Given an array of integers, find the largest value in the array that is smaller than 50. Each array contains at least one value that is less than 50.


maxBelow50([14, 7, -8]) → 14
maxBelow50([46, 50, 17, 200, 48]) → 48
maxBelow50([63, -10, -20, -49, -10]) → -10

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

int maxBelow50(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: 200

Copyright Nick Parlante 2017 - privacy