Computer Science, asked by tamanaya, 1 year ago

wap to print a pattern-11111 22222 11111 22222

Answers

Answered by vaibhav006
0

Answer:

11111 22222 11111 22222

Explanation:

Answered by ayushkumar1699
0

import java.util.*;

class pattern

{

public static void main(String args[])

{

for(int k=1;k<=2;k++)

{

for(int i=1;i<=2;i++)

{

for(int j=1;j<=5;j++)

{

System.out.print(i+"");

}

System.out.println();

}

}

}

}

By AYUSH SINGH

PLEASE MARK IT AS BRAINLIEST.

Similar questions
English, 1 year ago