finding the largest number out of Square and cube Root