Fix the logic error so that the output is 0. var a = 0; var b = 2; var…

Fix the logic error so that the output is 0. var a = 0; var b = 2; var…

Question:

 

Transcribed Image Text:

Fix the logic error so that the output is 0.
var a = 0;
var b = 2;
var c = 23;
var d = 40;
alert(a* b/c + d);
O alert((a * b )/ c + d);
alert(a* (b / c) + d);
O alert(a*b/(c + d));
alert((a*b / c) + d);

Expert Answer:

Answer rating: 100% (QA)

The detailed answer for the above que
View the full answer