Print series in java
1 2 3 4 5
6 7 8 9
10 11 12
13 14
15
Answers
Answered by
3
Answer:
public class series
{
public static void main(String args[])
{
int i, j, p=0;
for(i=5;i<=5;i++)
{
for(j=1;j<=i;j++)
}
p=p+1;
System.out.print(p);
System.out.println() ;
}
}
Similar questions
English,
5 months ago
Social Sciences,
5 months ago
Math,
9 months ago
Psychology,
9 months ago
Physics,
1 year ago
Math,
1 year ago