Question
JAVA PROGRAMMING The owner of Saras Vet Clinic tracks information about her patients to do analysis. No user data validation necessary. This data is stored
JAVA PROGRAMMING
The owner of Saras Vet Clinic tracks information about her patients to do analysis. No user data validation necessary. This data is stored in a transaction file called visits.txt. The file contains the following information # delimited:
Animal type ( dog, cat, snake, etc.). There are an unknown number of animal types
Animal weight.
To help with planning the data file will not contain more than 200 entries
Sara would like a report printed to the screen listing the mean weight of all animal visits in the file and the mean by animal type. An example report is
Mean weight of all animals is 20.25
Mean weight of dogs is 35.3
Mean weight of cats is 10.5
Mean weight of snakes is 2.25
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started