/animalageconversiontest

This is where you can see an example of how to calculate a dog, rabbit, hamster, or cats age in their years using their human years age.

Primary LanguagePython

animalageconversiontest

A simple test to convert a animals age in HUMAN years to DOG years, RABBIT years, HAMSTER years, or CAT years. conversionCAT, conversionRABBIT, conversionHAMSTER and conversionDOG are the areas where you can find finalized code. in conversionCAT you need to change negative value for your age to be subtracted by a number to reach 4. catconversion was a test document and may need to be updated.

Code is avaliable in JavaScript and Python (Python Courtesy of Ali)