about | help | code help+videos | done | prefs |
sommaTempi
sommaTempi. Sei parametri h1,m1,s1,h2,m2,s2 che rappresentano ore-minuti-secondi di 2 tempi d'esecuzione. Restituire la somma (h,m,s) dei 2 tempi, come stringa del tipo "h ore, m min, s sec" sommaTempi(0, 0, 10, 0, 0, 20) → "0 ore, 0 min, 30 s" sommaTempi(5, 10, 0, 0, 37, 0) → "5 ore, 47 min, 0 s" sommaTempi(200, 30, 0, 0, 42, 0) → "201 ore, 12 min, 0 s" ...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: 220
Copyright Nick Parlante 2017 - privacy