C++ PROGRAMMING:FROM...(LL) >CUSTOM<
C++ PROGRAMMING:FROM...(LL) >CUSTOM<
8th Edition
ISBN: 9780357019528
Author: Malik
Publisher: CENGAGE C
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 8, Problem 11SA

Explanation of Solution

The corrected code is shown below:

int myList[10];

    //for (int i = 1; i > 10; i++)

    //corrected for loop shown below

    //index i should start at 0 and the loop

  ...

Blurred answer