Back
Close

Carpaccio programming JS

jlandure
5,303 views
Previous: Step 7 - Include Utah Next: Step 9 - Open in all the 5 states

Step 8

Now, we want to add the discount beginning at 1k for small customers.

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 discounted price for our small customers.

Let's go to the next step.

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