Skip to content

upraneethkumar/Shape-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shape Calculator

Introduction

This is a Python program that functions as a shape calculator. It calculates various properties of different shapes such as circles, spheres, triangles, rectangles, squares, pyramid volumes, and cone volumes.

Features

  • Calculates properties of various shapes including circumference, area, volume, surface area, perimeter, etc.
  • Supports shapes such as circles, spheres, triangles, rectangles, squares, pyramids, and cones.

Usage

  1. Clone the repository to your local machine.
  2. Run the shape-calculator.py file using a Python interpreter.
  3. Follow the on-screen prompts to select the shape and the calculation you want to perform.
  4. Input the required parameters when prompted.
  5. The program will output the result of the calculation.

Supported Shapes and Calculations

  • Circle
    • Circumference
    • Area
  • Sphere
    • Volume
    • Surface Area
  • Triangle
    • Perimeter
    • Area
  • Rectangle
    • Perimeter
    • Area
  • Square
    • Perimeter
    • Area
  • Pyramid Volume
  • Cone Volume

Instructions

  • When prompted to select a shape, input the corresponding number or letter.
  • Follow the subsequent prompts to provide the necessary parameters for the calculation.
  • Input '0' to exit the program.

Contribution

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages