sayed71 / programming_practices

Data Structure & Algorithm, C, C++, Java, Python, C#, Assembly Language, R Programming etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem-1: Write Program for Output

1
23
456
78910

Problem-2: Write Program for Output

1
12
123
1234
12345
123456
1234567
12345678
123456789

<?php
	$count=1;

	for($i=1; $i<=10; $i++)
	{
		for($j=1; $j<$count; $j++)
		{
			echo $j;
		}

		$count=$count+1;

		echo "<br>";
	}

?>

About

Data Structure & Algorithm, C, C++, Java, Python, C#, Assembly Language, R Programming etc.