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

 

srp4379@lausd.net > largestOf3
prev  |  next  |  chance

int largestOf3(int n1, int n2, int n3). Given 3 numbers, return the largest value among them.


largestOf3(1, 2, 3) → 3
largestOf3(6, 9, 4) → 9
largestOf3(4, 4, 1) → 4

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

int largestOf3(int n1, int n2, int n3) { }

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: 130

Copyright Nick Parlante 2017 - privacy