How to print this Pattern
Attachments:
Answers
Answered by
2
Explanation:
class xyz
{
public static void main(String args[])
{
int k;
for (i=1;i<=5;i++)
{
for(j=1;j<=k;j+=2)
{
System.out.print(j);
}
System.out.println();
k+=2;
}}}
Answered by
0
Answer:
I am quite sure my program is perfect
If it helps you then please mark me the BRAINLIEST
BYE
Attachments:
Similar questions