Question: Please do it use java and follow the instruction, I really have trouble with this. Here's an example for the above question. For sure, if

Please do it use java and follow the instruction, I really have trouble with this.
Here's an example for the above question.


For sure, if you need more time.
(5) The Animal Planet Channel wants to study the genetics of elk. (a) Create a record (not an object) to represent the following: One elk, representing the following properties or characteristics: (1) gender (M' or 'F) (2) weight (in pounds, to the nearest tenth of a pound). (3) age (rounded down to the nearest year) (b) Inside the class with the main program (called TestElk), (6.1) Write a subprogram that generates a new elk given its gender and its two parents. Use the parameter list for the input (the two parent elk and the gender of the child). Use the return statement for the result (the baby elk). Use the following rules to define the remaining properties of the baby elk: (1) the age is always zero. (11) The weight of the child is ... c=w.m where c=child's weight w = weight of the father m=multiplier, as follows mother's age multiplier 0.11 5 Sage = 10 ) child.efficiency - 0.5; return child; } public static void main(String[] args) { Scanner keyboard = new Scanner(System.in); char another; Torple entity = new Torple(); do ! entity.mode - 'A', entity.borts - 3; entity.efficiency = 0.10; do { System.out.println(" Enter initial weight (grams): "); entity.weight = keyboard.next Double(); if ( entity.weight
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
