Skip to content

Calculate the area and perimeter of different geometric figures such as circles, squares, triangles, rectangles, and pentagons.

License

Notifications You must be signed in to change notification settings

JohnyWicked507/Geometric-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geometric Calculator in Java

This is a project for a geometric calculator implemented in Java. It allows you to calculate the area and perimeter of different geometric figures such as circles, squares, triangles, rectangles, and pentagons.

Usage

  1. Clone this repository to your local machine.
  2. Make sure you have Java installed on your system.
  3. Navigate to the project directory.
  4. Compile the program with the following command:
javac Main.java src/calculators/*.java src/config/*.java src/functions/*.java src/types/*.java
  1. Run the program with the following command:
java -cp src Main.java

Follow the on-screen instructions to select the geometric figure and the operation you want to perform (area or perimeter), and then enter the necessary data when prompted.

License

This project is under the GPL-3.0 License: LICENSE.

Additional Information

This project provides a simple geometric calculator program written in Java. It allows users to calculate the area and perimeter of various geometric shapes, including circles, squares, triangles, rectangles, and pentagons. The code is well-structured and easy to understand, making it a valuable resource for learning Java programming concepts and exploring geometric calculations.

About

Calculate the area and perimeter of different geometric figures such as circles, squares, triangles, rectangles, and pentagons.

Resources

License

Stars

Watchers

Forks

Languages