Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a PHP program hw1.php to display a multiplication table as shown below using PHP nested loop and echo statement. An HTML with 10px padding

Write a PHP program hw1.php to display a multiplication table as shown below using PHP nested loop and echo statement. An HTML

with 10px padding was used for the alignment and space.

image text in transcribed

localhost/hw/hw1.php Multiplication Table 2x1=2 2 x 2 = 4 2 x 3 = 6 2 x 4 = 8 2 x 5 = 10 2 x 6 = 12 2 x 7 = 14 2 x 8 = 16 2 x 9 = 18 3x1 = 3 3 x 2 = 6 3 x 3 = 9 3 x 4 = 12 3 x 5 = 15 3 x 6 = 18 3 x 7 = 21 3 x 8 = 24 3 x 9 = 27 4x1 = 4 4x2 = 8 4x3 = 12 4x4 = 16 4 x 5 = 20 4x 6 = 24 4x 7 = 28 4 x 8 = 32 4x9 = 36 5x1= 5 5x 2 = 10 5 x 3 = 15 5 x 4 = 20 5 x 5 = 25 5 x 6 = 30 5 x 7 = 35 5 x 8 = 40 5 x 9 = 45 6x1 = 6 6 x 2 = 12 6 x 3 = 18 6 x 4 = 24 6 x 5 = 30 6x6= 36 6 x 7 = 42 6 x 8 = 48 6 x 9 = 54 7x1 = 7 7 x 2 = 14 7 x 3 = 21 7 x 4 = 28 7 x 5 = 35 7 x 6 = 42 7 x 7 = 49 7 x 8 = 56 7 x 9 = 63 8x1 = 8 9x1 = 9 8 x 2 = 16 9 x 2 = 18 8 x 3 = 24 9x3 = 27 8 x 4 = 32 9 x 4 = 36 8 x 5 = 40 9 x 5 = 45 8 x 6 = 48 9 x 6 = 54 8 x 7 = 56 9x 7 = 63 8 x 8 = 64 9 x 8 = 72 8 x 9 = 72 9 x 9 = 81

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Strategic Database Technology Management For The Year 2000

Authors: Alan Simon

1st Edition

155860264X, 978-1558602649

More Books

Students also viewed these Databases questions

Question

2. Identify and choose outcomes to evaluate a training program.

Answered: 1 week ago

Question

6. Conduct a cost-benefit analysis for a training program.

Answered: 1 week ago