Notebook — ₹80 × 2
Pen — ₹20 × 3
Bag — ₹600 × 1

Business requirement

A shopping cart contains several products, each with a price and quantity. The screen must calculate the total value of every item in the cart.

  1. Create a CartItem structure with Name, Price, and Quantity.
  2. Prepare a local list with at least three sample items.
  3. Create a Calculate Total Client Action and set Total to zero before calculation.
  4. Use a For Each loop to visit every list item.
  5. Inside the loop, add Price × Quantity to Total.
  6. Display the final Total after the loop finishes.