Find the best answers to your questions at Westonci.ca, where experts and enthusiasts provide accurate, reliable information. Experience the convenience of getting accurate answers to your questions from a dedicated community of professionals. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.

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