Surgery

3 year old male patient comes with complaints of only one testis in the scrotum. On examination right testis is felt at inguinal canal. What is the preferred treatment