anyone can solve this computer program
Attachments:
Answers
Answered by
0
class Pattern
{
public static void main (int n)
{
int i,j,t=0,c=1;
for( i=1;i<=n;i++)
{
t=c;
for( j=1;j<=i;j++)
{
System.out.print(c+" "+);
t=c+2;
}
System.out.println( );
c+=2;
}
}
Anydoubt pls me again,for more java related doubts follow me,on Instagram YouTube and brainly.(see my profile for more details)
Similar questions