9.4 Code Practice: Your task is to determine whether each item in the array above is divisible by 3 or not.


9.4 Code Practice: Your task is to determine whether each item in the array above is divisible
by 3 or not. If an item is divisible by 3, then leave that value as-is in the
array, but if it is not divisible by 3, then replace that value in the array with a
o. Remember that you will need to use modular division from Unit 2 to
determine if a value is divisible by 3. Finally, print out the array in the
format as seen in the sample run below.
(Can someone?)


Leave a Reply

Your email address will not be published.