CJCoding With Joseph

Print a Number in Hexadecimal

The variable n holds 255. Print it in uppercase hexadecimal:

FF

Use the X format specifier.

Expected Output:

FF
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.