Question: / * Given an array of ints, divide each int by 2 , and return an ArrayList of Doubles. arrayInt 2 ListDouble ( { 5

/*
Given an array of ints, divide each int by 2, and return an ArrayList of Doubles.
arrayInt2ListDouble({5,8,11,200,97})->[2.5,4.0,5.5,100,48.5]
arrayInt2ListDouble({745,23,44,9017,6})->[372.5,11.5,22,4508.5,3]
arrayInt2ListDouble({84,99,3285,13,877})->[42,49.5,1642.5,6.5,438.5]
*/

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!