What happen in my js code ,I'm in stuck ,please help me ASAP!

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


const product = 2.5 * 2.5;
console.log(product);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36

Challenge: Multiply Two Decimals with JavaScript

Link to the challenge:

What is 2.5 * 2.5? The answer is 6.25.
You were given 2.0 * 0.0
You are supposed to change 0.0 so that the product will be 5.0…

If your math is bad, then you can try finding out 5/2 and replace 0.0 with the answer

ok thanks for replying fast

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.