Back
Close

Carpaccio programming JS

jlandure
5,319 views
Previous: Step 5 - Open in Texas Next: Step 7 - Include Utah

Step 6

Now, we want to offer a discount to our biggest client. Let's add a 15% discount if the amount reach $50,000.

Are you able to display the price?
// Hi, there
// use console.log to print something
module.exports = (nbItems, pricePerItem, state) => {
};
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

With this step, we have a new version ready to deploy.

Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants