Computer Science – Arrays | e-Consult
Arrays (1 questions)
Login to see all questions.
Click on a question to view the answer
Pseudocode:
- START
- SET
total_cost = 0 - FOR
i = 1 TO length of pricesDO:- ADD
prices[i]TOtotal_cost
- ADD
- END FOR
- DISPLAY
total_cost - END