Design a GUI application to accept the side of a square in a text field and calculate the area and perimeter of the square. Add Refresh button to clear all text fields and a Stop button to end the application.

Area of a square = side * side and perimeter = 2(side +side)

Q&A Education