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

 

crescente


cresente Input: 3 numeri interi a,b,c e una variabile booleana strettamente. Determinare se a,b,c sono ordinati in senso crescente, ossia si deve controllare che a<b<c oppure a<=b<=c a seconda che strettamente sia vero o falso.


crescente(1, 2, 3, false) → true
crescente(1, 2, 3, true) → true
crescente(1, 1, 1, true) → false

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

public boolean crescente(int a, int b, int c, boolean strettamente) { }

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