First, we created the Info class so initialized height(hgt) and diameter(diam) and then created a function diameter, then we check the base case after that using ...