Which of the following will display:
0 2 4 6 8 10
a.
```
php
$count = 0;
while ($count < 6)
{
print($count * 2)." ";
$count++;
}
?>
```
b.
```
php
$count = 0;
for($count=0;$count< 6;$count++)
{
print($count * 2)." ";
}
?>
```
c,
```
php
$count = 0;
do
print($count * 2)." ";
while ($count < 6)
?>
```
d. either (a) or (b)
d. either (a) or (b)
You might also like to view...
What is a PID number? Why are these numbers useful when you run processes in the background? Which utility displays the PID numbers of the commands you are running?
What will be an ideal response?
Create a DTD (products.dtd) for a retailer with the following specifications: The XML document that conforms to the DTD must contain a list of products and manufacturers. Each product should be represented by a product element and each manufacturer should be represented by a manufacturer element. Each manufacturer has a unique ID. Represent details like name, address, etc., as child elements of a manufacturer element. Each product has attributes such as product code (which is always unique), unit price, etc. Each product is classified into one of four categories: electronics, household, furniture and groceries. Each product should be related to a manufacturer described in the XML document and should be represented as an element. The product can have a model name and description as elements
What will be an ideal response?
In the Paste Options gallery, you would use the ________ option when you want to keep the destination spreadsheet file's theme without incorporating changes made to the source file
A) Use Destination Theme & Link Data B) Use Destination Theme & Embed Workbook C) Keep Source Formatting & Embed Workbook D) Keep Source Formatting & Link Data
A technician should disable _____ so that software on an optical disc will not launch when an optical disc is inserted into the drive
Fill in the blank(s) with correct word