Challenge: Working with Numbers
Swipe to start coding
Imagine a situation where a store launches a promotion: when purchasing 5 items at $17 each, the 6th item is free.
A total of 27 people participated in the promotion. Using numbers in JavaScript and multiplication, calculate the total revenue from this promotion and output it to the console.
Ratkaisu
Kiitos palautteestasi!
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Mahtavaa!
Completion arvosana parantunut arvoon 1.33
Challenge: Working with Numbers
Pyyhkäise näyttääksesi valikon
Swipe to start coding
Imagine a situation where a store launches a promotion: when purchasing 5 items at $17 each, the 6th item is free.
A total of 27 people participated in the promotion. Using numbers in JavaScript and multiplication, calculate the total revenue from this promotion and output it to the console.
Ratkaisu
Kiitos palautteestasi!
single