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

 

ordinati


ordinati. Input: 3 numeri interi a, b, c. Se gli elementi sono ordinati in senso crescente oppure in senso decrescente, il metodo ritorna true. Altrimenti gli elementi non sono ordinati in alcun modo, quindi si restituisce false.


ordinati(23, 25, 30) → true
ordinati(30, 25, 23) → true
ordinati(20, 25, 21) → false

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

public boolean ordinati(int a, int b, int c) { }

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

Copyright Nick Parlante 2017 - privacy