Skip to content

Instantly share code, notes, and snippets.

@nherbaut
Created September 4, 2023 10:01
Show Gist options
  • Select an option

  • Save nherbaut/d3fa406ed75a5e6bc0a058108c45f240 to your computer and use it in GitHub Desktop.

Select an option

Save nherbaut/d3fa406ed75a5e6bc0a058108c45f240 to your computer and use it in GitHub Desktop.
Created from MIAGE Code Crafting

Description

Teaching Goals

Hints

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);
}
}
@nherbaut
Copy link
Author

nherbaut commented Sep 4, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment