Php Code
<?php
$number = 2; (Replace number according your need)
$count = 1;
while($count<=10)
{
$result = $number *$count;
$count++;
echo $result.'<br><br>';
}
?>
Output
2
4
6
8
10
12
14
16
18
20
Choose the right course and start building your future with practical skills.
Learn HTML, CSS, JavaScript, and PHP to build modern, responsive websites and real-world projects.
Enroll Now See Full Details
Understand electronics basics with hands-on breadboard projects and circuit building techniques.
Enroll Now See Full Details
Step into AI with real-world applications, automation tools, and smart development techniques.
Enroll Now See Full Details