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().