Consider the following code segment. What is the value of result after the code segment is executed? (WILL GIVE BRAINLIEST IF CORRECT)
A) 6
B) 10
C) 15
D) 21
![Consider the following code segment What is the value of result after the code segment is executed WILL GIVE BRAINLIEST IF CORRECTA 6B 10C 15D 21 class=](https://us-static.z-dn.net/files/da3/79ca4e1cecc2830d8468c0e98cc78693.jpg)