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

 

zbaharav@kehillah.org > int2Oct
prev  |  next  |  chance

Given an integer between 0 and 63, return a String of length 2 representing it as an Octal number.


int2Oct(10) → "12"
int2Oct(8) → "10"
int2Oct(3) → "03"

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

public String int2Oct(int n) { }

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

Copyright Nick Parlante 2017 - privacy