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

 

potenziometro


Crea un vettore che contiene le prime 5 potenze di una base specificata come parametro.


potenziometro(2) → [1, 2, 4, 8, 16]
potenziometro(3) → [1, 3, 9, 27, 81]
potenziometro(4) → [1, 4, 16, 64, 256]

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

int[] potenziometro(int base) { }

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

Copyright Nick Parlante 2017 - privacy