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

 

highest


The function highest() returns the highest value in a list of three integers. The parameters are three integers values, x, y and z. If there's a tie for the best, return that value.


highest(2, 2, 1) → 2
highest(1, 2, 2) → 2
highest(1, 2, 3) → 3

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

public int highest(int x, int y, int z){ }

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: 100 Post-solution available

Copyright Nick Parlante 2017 - privacy