removed code to stop Scope error (#23269)

The print line is trying to call a local variable from the for loop and would result in a error.
This commit is contained in:
Edulop139
2018-11-23 05:20:40 -05:00
committed by Manish Giri
parent fd564a8607
commit 3db72f82fd

View File

@ -30,8 +30,6 @@ for (int iter_For = 0; iter_For < 10; iter_For++)
System.out.print(iter_For + " ");
// Iterated 10 times, iter_For 0,1,2...9
}
System.out.println("iter_For Value: " + iter_For);
```
Note: It is also acceptable to declare a variable within the for loop as a single statement.