Computer Science, asked by Shilpashree5696, 10 months ago

java program for the pattern
1
1 2
1 2 6
1 2 6 2 4


sagarmankoti: Sorry but I don't know how to do this. :(
khushi3219: i guess your pattern is wrong please re-check it.
Shilpashree5696: no it is correct

Answers

Answered by Phantom777
0
class pattern
{
public static void main ( String args[])
{
System.out.println ( "1");
System.out.println ("12");
System.out.println ("126");
System.out.println ("12624");
}
}

Shilpashree5696: I want using loops
khushi3219: but the pattern is wrong....
khushi3219: check it..it is going like 1 2 3 5....
khushi3219: lol??
sagarmankoti: ???
Phantom777: write that in question that you meed it with loops
Phantom777: need it with loops
Similar questions