23 ed out of question Identify 5 syntax errors from the following code and write the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
23 ed out of question Identify 5 syntax errors from the following code and write the correct code in the word document. [2.5 marks] (WRITE THE LINE NUMBER ALONG WITH YOUR CORRECT CODE IN YOUR ANSWER SHEET) 1 <?php 2 echo<h4>Kitchen Appliances</h4>; 3 Ska = array(array("Microwave",22), ("Blender",18). array("Grinder",34), array("Cooker",10)); for (Srow= 0; row < 4; $row++) 4 5 { 6 for (Scol = 0; Scol < 2; Scol++) 7 { 8 echo Ska[Srow][Sc]; 9 echo 1111 10 } 11 echo "<br>"; 12} 13 ?> 23 ed out of question Identify 5 syntax errors from the following code and write the correct code in the word document. [2.5 marks] (WRITE THE LINE NUMBER ALONG WITH YOUR CORRECT CODE IN YOUR ANSWER SHEET) 1 <?php 2 echo<h4>Kitchen Appliances</h4>; 3 Ska = array(array("Microwave",22), ("Blender",18). array("Grinder",34), array("Cooker",10)); for (Srow= 0; row < 4; $row++) 4 5 { 6 for (Scol = 0; Scol < 2; Scol++) 7 { 8 echo Ska[Srow][Sc]; 9 echo 1111 10 } 11 echo "<br>"; 12} 13 ?>
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
The equation x2 y2 +. a2 62 describes an ellipse (a and b are numbers). (a) Sketch the ellipse indicating the intersection points with the axes in terms of a and b. Express y as y = ellipse. From...
-
In Exercises find the arc length of the graph of the function over the indicated interval. - = 4 3 2 1 1 -1 (x + 1)3/2 y |y=(x+1)3/2 1 2 3 4
-
A particular leadcadmium alloy is 8.0% cadmium by mass. What mass of this alloy, in grams, must you weigh out to obtain a sample containing 7.25 x 10 23 Cd atoms?
-
What guidelines should an entrepreneur follow if friends and relatives choose to invest in her business?
-
A generic diagram of a slope in a jointed rock mass that is threatened by a planar block slide is shown in the sketch. A minimum safety factor of 1.05 is required. Although not shown bench height is...
-
What is a new-venture team?
-
Rocky Mountain Manufacturing produces a single product. The original budget for November was based on expected production of 35,000 units; actual production for November was 33,250 units. The...
-
Sub Saharan Africa: Be able to find Angola, Benin, Burundi, Burkina Faso, Chad, Cameroon, Democratic Republic of the Congo, Eritrea, Ethiopia, The Gambia, Ghana, Ivory Coast, Kenya, Madagascar, Mali,...
-
Extend Example 20.3 to calculate CVA when default can happen in the middle of each month. Assume that the default probability during the first year is 0.001667 per month and the default probability...
-
Consider Willie Stark's consumption of steak and bourbon. When he made $120,000 a year he had 10 steaks and 200 bourbons. Now we make $180,000 and has 9 steaks and 300 bourbons. Find the income...
-
Can the average speed of an object moving in one direction ever be larger than the object's maximum speed?
-
A block has an initial speed of \(6.0 \mathrm{~m} / \mathrm{s}\) up an inclined plane that makes an angle of \(37^{\circ}\) with the horizontal. Ignoring friction, what is the block's speed after it...
-
Car A is spotted passing car B just east of Westerville at exactly 2:00 p.m. The same two cars are then spotted next to each other just west of Easterville at exactly 3:00 p.m. If car \(B\) had a...
-
Assume you have a video clip of someone walking from left to right. You draw a position-versus-time graph of the motion and choose your origin to be the left edge of the frame. A friend chooses to...
-
You enter an elevator on the ground (first) floor and ride it to the 19 th floor. Describe your acceleration at the different stages of this trip.
-
The population of bacteria in a culture grows at a rate proportional to the number of bacteria present at time t. After 3 hours it is observed that 300 bacteria are present. After 10 hours 4000...
-
Baxter, Inc., owns 90 percent of Wisconsin, Inc., and 20 percent of Cleveland Company. Wisconsin, in turn, holds 60 percent of Clevelands outstanding stock. No excess amortization resulted from these...
-
Bev and Ken Hair have been married for 3 years. They live at 3567 River Street, Springfield, MO 63126. Ken is a full-time student at Southwest Missouri State University (SMSU) and Bev works as an...
-
Carl and Jenny adopt a Russian orphan. The adoption takes 2 years and two trips to Russia and is final in 2012. They pay $6,000 in 2011 and $7,500 in 2012 of qualified adoption expenses, and have AGI...
-
Jason and Mary are married taxpayers in 2012. They are both under age 65 and in good health. For this tax year, they have a total of $41,000 in wages and $500 in interest income. Jason and Mary's...
-
In mice, the copy of the Igf 2 gene that is inherited from the mother is never expressed in her offspring. This happens because the Igf 2 gene from the mother a. always undergoes a mutation that...
-
A person with type AB blood has a child with a person with type O blood. What are the possible blood types of the child? a. A or B b. A, B, or O c. A, B, AB, or O d. O only
-
Extranuclear inheritance occurs due to a. chromosomes that have become detached from the spindle apparatus during meiosis. b. genetic material that is found in chloroplasts and mitochondria. c....
Study smarter with the SolutionInn App