blackstorm2275 blackstorm2275 08-04-2024 Mathematics contestada Consider the following code segment. What is the value of r as a result of executing the code segment? A. 10 B. 20 C. 30 D. 40