Question: You are given these initial values for the code below: a is 1 0 0 and b is 2 . What are the values of

You are given these initial values for the code below: a is 100 and b is 2. What are the values of a and b after this code executes?
if(a <100)
{
a =10;
b =0;
}//END if a <100
Group of answer choices
a is 100 and b is 0
a is 100 and b is 2
a is 10 and b is 0
a is 10 and b is 2

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!