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

 

moltiplicazione


Moltiplicazione delle stringhe
Dati una stringa s ed un moltiplicatore m, si crea una stringa con m ripetizioni di s.
Se il moltiplicatore รจ negativo, restituire la stringa di partenza.


moltiplicazione("Mix", 0) → ""
moltiplicazione("Mix", 1) → "Mix"
moltiplicazione("Mix", 2) → "MixMix"

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

String moltiplicazione(String s, int m) { }

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

Copyright Nick Parlante 2017 - privacy