61.8k views
5 votes
The following code in a different program is not working properly. The message should display the value of the intCounter variable if the intCounter variable contains a balance that is less than or equal to 15. The message does not display. What mistake did the previous programmer make?

User MrJD
by
5.2k points

1 Answer

4 votes

Debug is tools where to address issue I any logic low is mistake. In each programming languages these tools should available.

Step-by-step explanation:

Intcounter variable used as condition value is 15 to display message. End user has to check whether intcounter whether value has reached less than or equal to 15. If a loop or conditions is reached then message will not be display.

To address issue end has to use debug program and under the mistake. Debugging the program has to done step by step and find out the mistake and take necessary actions.

User Johan De Haan
by
5.5k points