Computer Science, asked by Garv2703, 3 months ago

How to print this pattern in php

1
1 2
1 2 3
1 2 3 4
1 2 3 4 5​

Answers

Answered by mohammadadnan7
2

Answer:

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(j);

}

System.out.println();

}

}

}

hope it will help and thank me if my answer is correct and mark me brainly

Answered by hackingtrueshield
0

Explanation:

the process by which green plants turn carbon dioxide and water into food using energy from sunlight

सूर्य के प्रकाश से हरे पौधों द्वारा कार्बन डाइ-ऑक्‍साइड और जल को भोजन का रूप देने की प्रक्रिया; प्रकाश-संश्‍लेषण; फ़ोटोसिंथीसिस

hi buddy

Similar questions