Question: 27. (Multiple choice) The following code is supposed to read in 20 numbers and find the sum. There is a defect in the code and

 27. (Multiple choice) The following code is supposed to read in

27. (Multiple choice) The following code is supposed to read in 20 numbers and find the sum. There is a defect in the code and you need to choose the option that will correct the defect. A. Change Line 1 to the following: count =1; B. Change Line 3 to the following: cin> sum; C. Change Line 4 to the following: while (count

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!