Question 1 of 30
In a software application, a function named `calculateTotal` is designed to compute the total price of items in a shopping cart. The function takes two parameters: an array of item prices and a discount percentage. The function applies the discount to the total price of the items and returns the final amount. If the array of item prices is [20, 30, 50] and the discount percentage is 10%, what will be the output of the `calculateTotal` function?
81
85
90
75

Preparing for Microsoft 98-361 Software Development Fundamentals? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free