178k views
1 vote
Consider the following code segment.

What are the values of first and second as a result of executing the code segment?
a. first = 200, second = 100
b. first = 100, second = 100
c. first = 200, second = 200
d. first = 100, second = 200

Consider the following code segment. What are the values of first and second as a-example-1

1 Answer

2 votes
The answer would be b
User Dumars
by
4.6k points