Pair implementation

how can I make the following pair in c++

{0:‘0’ , 1:‘1’ , 2:‘2’ , 3:‘3’ , 4:‘4’ , 5:‘5’ , 6:‘6’ , 7:‘7’ , 8:‘8’ , 9:‘9’ , 10:‘A’ , 11:‘B’ , 12:‘C’…34:‘Y’ , 35:‘Z’}
as you can see till 9 we have paired the no.s with interger but 10 onwards we have characters , I am confused how to implement it , syntax would be helpful

hello @jayasmit98

u can treat both number and characters as string for this problem.

pair<int, string > should work fine.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.