I am making a simple calculator in visual studio where I have put different buttons including a square button, square root button, cube button and cube root button in my winform calculator. All other button work fine in the calculator but I don't know the code behind the square, sqrt, cube and cube root button so can you suggest me some code that will help me solve the problem in my calculator?