← All problemsSign in

Delivery Coupon

Chef wants to order food from a app. He will order three items costing __A1__, __A2__ and __A3__ on the first day and three items costing __B1__, __B2__ and __B3__ on the second day. There is also __D__ delivery cost that is applied to both orders on each day. That is Chef will have to pay (__A1__ + __A2__ + __A3__ + __B1__ + __B2__ + __B3__ + __D__ + __D__) as total for his or

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start