Skip to content

Files

Latest commit

b6a966b · Jan 27, 2022

History

History
64 lines (57 loc) · 1.84 KB

README.md

File metadata and controls

64 lines (57 loc) · 1.84 KB

Animal Feeding Calculator

A calculator to determine food amount based on weight and body score

Java Personal Project


Java Files Location:

src / animal / [java files]

Main Method File:

AnimalWeightGUI.java

How To Download The Program:

  1. Ensure you have Java downloaded to your computer (Java download)
  2. Download the zip of the repository
    • This is located on the main repository page in the green "code" dropdown menu
  3. Use your computer's command prompt and navigate to the downloaded repository
  4. Navigate to the src directory
    • src$
  5. Compile the files
    • src$ javac animal/AnimalWeightGUI.java
  6. Then run the main method file
    • src$ java animal/AnimalWeightGUI

How To Use The Program:

This program is a simple calculator in which the user types in the required information to determine the amount of food they should be feeding their cat or dog so their pet can maintain a healthy weight
  1. Type the amount the pets weighs
  2. Select "kilo" or "pound" depending on unit of measure
  3. Type in the "Body Condition Score"
    • Navigate to the "Instruction" button then either the "Cat" or "Dog" chart button for a body condition chart
  4. Type in the number of calories per cup of food, found on the animal's bag of food
  5. Press "Compute"

The results include the animal's ideal weight and the suggested amount of food based on different feeding schedules