1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Input/Output and Streams in Java

Connected

अभ्यास

Calculate total sales

An online store processes daily sales transactions. Each sale amount needs to be increased by 10% tax before calculating the total revenue for financial reporting.

निर्देश

100 XP
  • Use .map() to increase each sale amount by 10%.
  • Sum all updated values using .reduce().