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

 

norm.krumpe@muohio.edu methodslab1 > max2
prev  |  next  |  chance

Given two numbers, return the largest of those numbers.


max2(4, 7) → 7
max2(7, 4) → 7
max2(3, 3) → 3

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

int max2(int a, int b) { }

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

Copyright Nick Parlante 2017 - privacy