You are required to write a program that uses a graphical user interface to calculate the area of a triangle, a rectangle and a circle.
You will need to import Tkinter into the program.
The program will need to first create the GUI, and then define the method to calculate the area of each shape.
The user of the program should be able to choose which shape they would like to calculate the area for via radio buttons.
The user should be able to input the dimensions of their chosen shape (Height, Width or Radius).
A click button should be used to get the area displayed in the GUI.
أكثر...
You will need to import Tkinter into the program.
The program will need to first create the GUI, and then define the method to calculate the area of each shape.
The user of the program should be able to choose which shape they would like to calculate the area for via radio buttons.
The user should be able to input the dimensions of their chosen shape (Height, Width or Radius).
A click button should be used to get the area displayed in the GUI.
أكثر...