help with this question asap 50m: 29s to test end 0/15 Attempted testay muchie M
ID: 3149124 • Letter: H
Question
help with this question
asap
50m: 29s to test end 0/15 Attempted testay muchie Modules Pet Name Fluffy Bowser Hopper Birth Year 2009 2007 2012 # Pet years per 1 human year 10 To calculate pet years, we multiply an animal's age by the"# pet years per 1 human year, for its species to f year (assuming it is 2017) to find her age: 2017 2009 8 human years old. Then, we multiply ind the equivalent age in pet years For Fluffy, we would first subtract her birth year from h current 8 yrs old 5 pet yrs per human yr 40 pet years old, Altogether, we all this series of calculations a mathematica function. Modules are used to store ma ctions so they can be quickly repeated with different But all that math can get a little tricky. Instead of repeating this math for every pet, we can use a module: e can use the following module to compute the age of a pet in pet years inputs. A module asks the user to input specific values in a specific order, then computes the result. W PetAge(Current Year, Birth Year, # Pet years per 1 human year) in this module, you first input the current year, then the birth year of the pet, then Pet years per 1 human year for that pet. Which of the following correctly uses the PetAge module to cakculate the age of Bowser, assuming the current year is 2017? A 4:44 AM 2/27/20174 e@«J O Type here to searchExplanation / Answer
The 3rd option is correct. Because the serial should be ( current year, Birth year # pet year per human year). Applying this sense 2007 birth year corresponds to7 pet year/ 1human year. So, the right option is (2017,2007#7). Others aren't satisfying this condition.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.