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.
- Create a CartItem structure with Name, Price, and Quantity.
- Prepare a local list with at least three sample items.
- Create a Calculate Total Client Action and set Total to zero before calculation.
- Use a For Each loop to visit every list item.
- Inside the loop, add Price × Quantity to Total.
- Display the final Total after the loop finishes.