Truffle Workshop
From JVMLangSummit
Jump to navigationJump to search
/* ##### ### # # #### #### # #### # # ## ### # # ### # # ## ### # # # # # # # # # # # # # # # # # # # # # # # # # ### # # ### ### # ### # # # # # ### ## ## #### # # ### # # # # # # # # # # # # # # # # # # # # # # # # # # # ## # # #### #### # # ## # # # # ### # # ## # Lukas Stadler, Johannes Kepler University Linz, Austria */ function main { i = 0; sum = 0; while (i < 10000000) { sum = sum + i; i = i + 1; } return sum; }