Computer Science, asked by debkotatoyanatha, 2 months ago

Write a program to generate following pattern.
3
33
333
3333
33333​

Answers

Answered by sameerkrdbg
3

In Java

class pattern

{

public static void main(String args[])

{

int i, j;

for(i = 1; i<=5: i++)

{

for(j=1; j<=i; j++)

{

System.out.print("3");

}

System.out.println();

}

}

Answered by lohitjinaga
1

Answer:

2)O^{2-} --> O_{2}

Similar questions