about | help | code help+videos | done | prefs |
maxOfTwo
Write a method called maxOfTwo that accepts two integer parameters from the user and returns the larger of the two. Precondition: Assume that the two numbers are distinct maxOfTwo(4, 5) → 5 maxOfTwo(7, 10) → 10 maxOfTwo(15, 19) → 19 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 101
Copyright Nick Parlante 2017 - privacy