Page 1 of 1

Question 20 6 pts Select the loop control (this should be numbers and remember indexing starts at 0) and the array refer

Posted: Sat May 14, 2022 8:35 pm
by answerhappygod
Question 20 6 Pts Select The Loop Control This Should Be Numbers And Remember Indexing Starts At 0 And The Array Refer 1
Question 20 6 Pts Select The Loop Control This Should Be Numbers And Remember Indexing Starts At 0 And The Array Refer 1 (133.93 KiB) Viewed 49 times
any help with this please
Question 20 6 pts Select the loop control (this should be numbers and remember indexing starts at 0) and the array reference which complete the algorithm below. The calcCharges algorithm accumulates the total charges by iterating over the array, charges, which is passed into the module. The charges array is shown below which should provide information on how to set the loop control values for the counted repetition. 5.50 7.25 10.00 4.50 6.75 module: calcCharges (charges) totalCharges = 0 do index = [ Select ] to Select) totalCharges = [Select] totalCharges + enddo prompt "totalCharges = ", totalCharges end calcCharges