Easy

This question is a daily question and will count towards your daily streak.

You are building an e-commerce application and need to calculate the total revenue generated from a list of orders. Each order contains an amount and a discount (both in dollars). Use the provided orders array to calculate the total revenue after applying the discounts. What will the output be?

Choose an option below