CJCoding With Joseph

Hexadecimal Output

The integer n = 255 is given. Print it in lowercase hexadecimal using %x:

ff

Do not hardcode ff — let printf convert n with %x.

Expected Output:

ff
Topics:
Printing
Code Editor
1
Tab to indent · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (p, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.