At Westonci.ca, we make it easy for you to get the answers you need from a community of knowledgeable individuals. Experience the ease of finding reliable answers to your questions from a vast community of knowledgeable experts. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

Consider the following code segment.

result ← 1

IF(score1 > 500)

{

result ← result + 1

IF(score2 > 500)

{

result ← result + 1

}

ELSE

{

result ← result + 2

}

}

ELSE

{

result ← result + 5

IF(score2 > 500)

{

result ← result + 1

}

ELSE

{

result ← result - 1

}

}

If the value of score1 is 350 and the value of score2 is 210, what will be the value of result after the code segment is executed?

Responses

3

3

4

4

5

5

7