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

 

delta


delta. Dati 4 parametri interi n1,n2,n3, n4, determinare la differenza tra il massimo ed il minimo dei 4.


delta(12, 6, 13, 20) → 14
delta(1, 2, 3, 4) → 3
delta(4, 3, 3, 4) → 1

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

public int delta(int n1, int n2, int n3, int n4) { }

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

Copyright Nick Parlante 2017 - privacy