Sort Game Problem

Sir,
How to Solve this Problem without Vector pair ?

u can create ur custom class and in place of vector u can use array.

i am not getting how to do with array.

where are u facing problem while using arrays?

can you share the code?