Answer:
See Explanation
Explanation:
Considering the first program: DebugSix2.java
The following statement needs to be terminated
<em>System.out.println("\nEnd of application")</em>
as
<em>System.out.println("\nEnd of application");</em>
Then, the loop needs to be enclosed as this:
<em>for(a = MIN; a <= MAX; a++){
</em>
<em> letter = (char)a;
</em>
<em> System.out.print(" " + letter);
</em>
<em> if((a == STOPLINE1) & (a == STOPLINE2))
</em>
<em> System.out.println();}
</em>
Considering the first program: DebugSix4.java
You only need to initialize variable count to 0 as this:
<em>count = 0</em>
<em>I've added the correct source code as an attachment</em>