1
2 3
4 5 6
7 8 9 10
write a java program for this output
Answers
Answered by
0
Answer:
// program to print output as given numbers
public class _______
{
public void main(String arcs[])
{
System.out.println("1");
System.out.println("2 3");
System.out.println("4 5 6");
System.out.println("7 8 9 10");
}
}
Similar questions