Answer:
The Variable is out of scope
Explanation:
In programming variables exists with scopes This could be local or global. When a variable is declared as a global variable it is available to all methods and procedures in the program. Java programming language as well as C++ and several others use the open and close braces to define the scope in programs. consider the following example
<em>public class ANot {</em>
<em> public static void main(String[] args) {</em>
<em> int i = 0;</em>
<em> while ( i<10){</em>
<em> int sum = 0;</em>
<em> sum = sum+i; </em>
<em> }</em>
<em> }</em>
<em>}</em>
In this example, the variable i is global and can be assessed within the while loop but the variable sum is local to the while loop and cannot be assessed outside of it
Answer: aaaa
Explanation:
Since the condition of n > 0 is satisfied, the number will decreement and the print out will look like the above answer.
The primary input device is the Mouse.