Learn How to Program in Cby Dr. Kristin Switala
|
|
Answers to Review: Loops (b)
White Box Testing
1. two errors:
- in line 5, use ++loop
- line 6 should end with a semicolon ;
2. two errors:
- in line 5, use < instead of >
- in line 6, use \n
3. two errors:
- in line 1, use stdio.h
- in line 6, use a parenthesis like this: for( count
4. two errors:
- line 4 should end with a semicolon ;
- in line 6, use ++i instead of j
|
|