Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
output1
//'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_111 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { int h=0, f=1, g=1, i=5; for (int j = 1; j < i; j++) { h = f * g; f = g - 1; g = h + 1; System.out.print(h + ", "); } System.out.println(f + ", " + g); } }
run
|
edit
|
history
|
help
0
Escaping Literals II
several at a time
Using Recursion reverse the Line
move zeros to end of array
Satish Shankar Nikam
batman
Series_4_8
Finding Biggest Square
parameter const
Simple imitation for show banners on priorities