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

 

tim@ggc.edu > findGreatestOfFour
prev  |  next  |  chance

Find the largest number among the four input numbers


findGreatestOfFour(1, 2, 3, 4) → 4
findGreatestOfFour(34, 56, 23, 34) → 56
findGreatestOfFour(45, 78, 43, 56) → 78

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

public int findGreatestOfFour(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 Post-solution available

Copyright Nick Parlante 2017 - privacy