Question: Consider the following code: function glurb ( a , b ) { if ( a > 2 * b ) { console.log ( A

Consider the following code:
function glurb(a, b){
if (a >2* b){
console.log("A is big");
} else {
console.log("A isn't that big");
}
if (a > b){
console.log("(bigger than b)")
}
console.log(a * b);
}
What is printed to the console when we invoke this with glurb(7,3)?
Group of answer choices
(bigger than b),37
A is big, 21
A is big, (bigger than b),21
A is big, 73
A isn't that big, (bigger than b),73
A isn't that big, 21

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!