SECTION 2 Multiple choice… Questions 1-4 refer to the following program segment. Assume that metaal waar S-0 i-0 while i < 50) scanf(“%d”, &tk s-s+t if ( 0) else 1. How many times is the loop body of the while statement once never 49 times 50 times until a number 50 or larger is entered 2. The value stored in variables at the end of the execution of the described as c h esthe b. the average of the numbers scanned the sum of the numbers scanned the largest of the numbers scanned how many numbers were scanned the sentinel value 3. The value stored in variable z at the end of the execution of the open described as beste b. C. how many positive items were scanned the sum of all positive items scanned how many negative items were seanned the sum of all negative items scanned the sentinel value e. Show transcribed image text SECTION 2 Multiple choice… Questions 1-4 refer to the following program segment. Assume that metaal waar S-0 i-0 while i
Expert Answer
Answer to SECTION 2 Multiple choice… Questions 1-4 refer to the following program segment. Assume that metaal waar S-0 i-0 while…