Computer Science, asked by kshitij302, 10 months ago

How to print this Pattern

Attachments:

Answers

Answered by kavyasaxena106
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 tamaghnadey1916
0

Answer:

I am quite sure my program is perfect

If it helps you then please mark me the BRAINLIEST

BYE

Attachments:
Similar questions