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

 

jebbert@volusia.k12.fl.us > minerideToHex
prev  |  next  |  chance

Write a method that returns the hexadecimal representation of the input parameter 'num'. Remember that hexadecimal is base 16 and uses "A" through "F" to represent 10 through 15. Look at the test data for specific examples.


minerideToHex(10) → "A"
minerideToHex(11) → "B"
minerideToHex(13) → "D"

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

public String minerideToHex(int num) { }

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

Copyright Nick Parlante 2017 - privacy