Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

what is full explanation of the code to print out all twelve times tables? // code to print out all twelve times tables print

what is full explanation of the code to print out all twelve times tables?

// code to print out all twelve times tables

print "

";

print "

";

print "

";

print "

";

print "

";

print "

";

print "

";

print "

";

print "

";

print "

";

print "

";

print "

";

print "

";

print "

";

print "

";

print "

";

print "

";

print "

".timestable(1)." ".timestable(2)." ".timestable(3)." ".timestable(4)." ".timestable(5)." ".timestable(6)."
".timestable(7)." ".timestable(8)." ".timestable(9)." ".timestable(10)." ".timestable(11)." ".timestable(12)."
";

Do this, and write an explanation of what this code does in your report.

That made it easy to print a lot of times tables. Now try this:

what is full explanation of the code that prints out lots of times tables?

// code to print out LOTS of times tables

print "

";

for( $i = 1; $i < 1000; $i += 6) {

print "

";

for( $j = 0; $j < 7; $j++) {

print "

";

}

print "

";

}

print "

".timestable($i + $j)."
";

Try and make sense of what this code does and how it works, and write an explanation in your report.

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_2

Step: 3

blur-text-image_3

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

Database Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions

Question

1. Which is the most abundant gas presented in the atmosphere?

Answered: 1 week ago