This README provides an overview of the Balance Calculator project, which is designed to help you calculate a person's mass on different planets based on their weight on Earth. It's a Java program that takes user commands to perform calculations related to a person's mass on various planets.
The Balance Calculator project is a Java-based program that calculates a person's mass equivalent on different planets in our solar system based on their weight on Earth. This tool helps users understand how their mass would compare on other celestial bodies.
To use this project, follow the steps below:
-
Setup Instructions:
- Ensure you have Java installed on your system to run this program.
-
Installation:
- No specific installation is required. You can compile and run the program using a Java compiler or an integrated development environment (IDE) like Eclipse or IntelliJ IDEA.
-
How to Run:
- Run the program, and it will await your commands through the command-line interface (CLI).
You can use the following commands to interact with the Balance Calculator:
init [name] [weight] [planet]
: Initialize a person with a name, weight on Earth, and the planet they are on.massaEquivalente [planet]
: Calculate and display the person's mass equivalent on the specified planet.show
: Display the current person's details.end
: Exit the program.
Feel free to use and modify this program to perform calculations related to mass on different planets. If you encounter any issues or have questions, please refer to the project's documentation or reach out to the contributors for assistance. Happy calculating!