Perform the following using the given Array below.
Given : int[] arr = new int[6] { 5, 8, 9, 25, 0, 7 };
1. (arr[4] + arr[0)]] * arr[2]
Answer: arr[4] = 0 arr[0] = 5 arr[2] = 9 (arr[4] + arr[0)]]) * arr[2] = (0+5)*9=45
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment