Learn How to Program in Cby Dr. Kristin Switala
|
|
Answers to Review: Arrays (b)
White Box Testing
1. five errors:
- in line 6 the variable should be venus[4]
- line 7 should end with a semicolon ;
- line 8 should be: for(i = 0; i < 2; i++)
- in line 10 the newline character should be \n
- in line 12 the variable should be venus[i]
|
|