Lab Arrays Debugging
Lab Arrays Debugging
B. Modify the code from item A in order for the array to hold 30 numbers, which will be
between 20 and 600, inclusive.
C. Modify the code from item B to allow the user to enter numbers until the array is full.
D. Modify the code from item C to allow the user to set the array size.
Exercise 2:
Fix all the compilation errors, so that the program will compile successfully. Once the
program compiles, compare the output to the sample output, and eliminate any logic
errors that exist. The sample output demonstrates what the programs output should be
once the programs code is corrected.
Code: lab_debugging
Example: See debugging_sampleOutput.txt