Skip to content

Latest commit

 

History

History

Balance

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Balance Calculator README

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.

Table of Contents

Description

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.

Usage

To use this project, follow the steps below:

  1. Setup Instructions:

    • Ensure you have Java installed on your system to run this program.
  2. 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.
  3. How to Run:

    • Run the program, and it will await your commands through the command-line interface (CLI).

Commands

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.

Contributors

License

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!