answer plz
write a program in Java to get the output plz help me
Attachments:
Answers
Answered by
1
Hey There!
Here's your code:
public class Pattern
{
public static void main(String args[])
{
int n=10;
for(int i=0;i<n;i++)
{
for(int j=0;j<=i;j++)
{
System.out.print((i*j)+" ");
}
System.out.println();
}
}
}
Hope it helps
Purva
Brainly Community
Here's your code:
public class Pattern
{
public static void main(String args[])
{
int n=10;
for(int i=0;i<n;i++)
{
for(int j=0;j<=i;j++)
{
System.out.print((i*j)+" ");
}
System.out.println();
}
}
}
Hope it helps
Purva
Brainly Community
Similar questions
English,
1 year ago
Business Studies,
1 year ago