1 | public class main { |
2 | public static void main(String[] args) { |
3 | int n=1; |
4 | for i=1, 10 { n=n*i; } |
5 | System.out.println("n=" + n); |
6 | } |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1000260 |
Snippet name: | Runnable Lua-style for loop example |
Eternal ID of this version: | #1000260/1 |
Text MD5: | a2abe1681aa600d5140916699bfae358 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-04-21 21:32:10 |
Source code size: | 150 bytes / 7 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 617 / 470 |
Referenced in: | [show references] |