#include <stdio.h> #include <stdint.h> void print_hex(uint16_t num) { printf("%X",num); } int main() { uint16_t num; scanf("%hu", &num); print_hex(num); return 0; }
Test Cases
Test Results
Input
255
Expected Output
FF