Question: Fix the logic error so that the output is 0. var a = 0; var b = 2; var c = 23; var d


 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);

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);

Step by Step Solution

3.40 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The detailed answer for the above que... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!