Write a program to display the pattern
1
2 3
4 5 6
7 8 9 10
Answers
Answered by
1
Explanation:
Do while loop
Do loop while
For next loop
While wend loop
Answered by
1
Answer:
Like share comment
Explanation:
Import Java. Io. *;
Class pro
{
Public static void main(string args[])
{
Int I, j;
For(i=1;i<=10;i++)
{
For(j=i;j<=5;i++)
System.out.print(+i);
}
System.out.print(" ") ;
}
}
➖➖➖➖➖➖➖➖➖➖➖
HOPE IT MAY HELP
➖➖➖➖➖➖➖➖➖➖➖➖
Similar questions