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

 

dario.sonego@gmail.com > lunghisshima
prev  |  next  |  chance

Lunghissima
Restituire la stringa più lunga tra 4 stringhe s1, s2, s3, s4.
Se più stringhe hanno lunghezza massima, si restituisce la prima.


lunghisshima("ciao", "amico", "a", "os") → "amico"
lunghisshima("xi", "ix", "xii", "xiii") → "xiii"
lunghisshima("x", "xxxx", "abcd", "xx") → "xxxx"

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

String lunghisshima(String s1, String s2, String s3, String s4) { }

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: 150 Post-solution available

Copyright Nick Parlante 2017 - privacy