Assignment #9
(20 points)
-
Watch the video
JavaScript: For Loop
(CC)
and
PHP: For Loop
(CC)
- Create BOTH a Javascript AND a PHP application similar to those developed in the videos and shown
in the image below. Save your work as "assignment9-javascript.html" and "assignment9-php.php".
- Special considerations: (Assume X is the value in textbox).
- When the "Display Results" command button is pressed, your program should display:
- A) Numbers in increasing order from 1 to X.
- B) Numbers in decreasing order from X downto 1.
- C) Even numbers between 2 and X.
- D) A square of asterisks with X rows and columns.
- E) A multiplication table showing the number 1 to X.
- Upload your work to your YOUR-CLASS-WEBSITE.
Help.
|