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

 

maxOf4


Return the largest of 4 values.


maxOf4(7, 1, 14, 2) → 14
maxOf4(4, 3, 2, 1) → 4
maxOf4(-8, 0, -4, -9) → 0

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

int maxOf4(int a, int b, int c, int d) { }

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

Copyright Nick Parlante 2017 - privacy