Created
September 4, 2023 10:01
-
-
Save nherbaut/d3fa406ed75a5e6bc0a058108c45f240 to your computer and use it in GitHub Desktop.
Created from MIAGE Code Crafting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class BlockCode { | |
| public static void main(String...args) { | |
| int i; | |
| for (int i = 5; i < 12; i++) { | |
| int j = i; | |
| } | |
| System.out.println(j); | |
| int i; | |
| int j = 0; | |
| while (i > 10) { | |
| j += i; | |
| i++; | |
| } | |
| System.out.println(j); | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run this gist on http://localhost:8080/javarunner_war/?gistId=d3fa406ed75a5e6bc0a058108c45f240