+ 2
JavaScript “the big sale” discount question
Please please please can someone in a kind way tell me the answer and explain it? I don’t feel the app in anyway provided enough info to know the answer or any support and nothing I have tried has worked. This is my first time trying to code so please help
4 Réponses
+ 2
function main() {
var oldPrice = parseInt(readLine(), 10)
// your code goes here
var result = oldPrice -(oldPrice *.20)
console.log(result)
}
0
Where are the details of this question?
0
You are right tho Jennifer, for noobs learning programming, parseInt isnt explained in bootcamps until much further on… if you havent started a bootcamp, try Headfirst Javascript progamming book… much easier ease into if for first timers..
- 1
I still on the question try console.log(80);