Question

Ocean LevelsAssuming the ocean’s levelis currently rising at about 1.5 millimeters per year, write a program that displays a table showing the number of millimeters that the ocean will have risen each...

Ocean LevelsAssuming the ocean’s levelis currently rising at about 1.5 millimeters per year, write a program that displays a table showing the number of millimeters that the ocean will have risen each year for the next 25 years. Hint:Years should be the counter variable. It should change from 1 to 25 HTML only

0 0
Add a comment Improve this question Transcribed image text
Answer #1

<!DOCTYPE html>
<html>
<head>
   <title>Ocean Level Rising</title>
</head>
<body>

<center>


    <div>
        <center><h1>Ocean Level Rising Table</h1></center>
    </div><br><br>


<!--Creates a table
   tr for table row
   th for table heading
   td for table data-->


    <table border="2">


        <tr>
            <th>Year</th>
            <th>Level Risen (in millimeters )</th>
        </tr>
        <tr>
            <td>1</td>
            <td>1.5</td>
        </tr>
        <tr>
            <td>2</td>
            <td>3</td>
        </tr>
        <tr>
            <td>3</td>
            <td>4.5</td>
        </tr>
        <tr>
            <td>4</td>
            <td>6</td>
        </tr>
        <tr>
            <td>5</td>
            <td>7.5</td>
        </tr>
        <tr>
            <td>6</td>
            <td>9</td>
        </tr>
        <tr>
            <td>7</td>
            <td>10.5</td>
        </tr>
        <tr>
            <td>8</td>
            <td>12</td>
        </tr>
        <tr>
            <td>9</td>
            <td>13.5</td>
        </tr>
        <tr>
            <td>10</td>
            <td>15</td>
        </tr>
        <tr>
            <td>11</td>
            <td>16.5</td>
        </tr>
        <tr>
            <td>12</td>
            <td>18</td>
        </tr>
        <tr>
            <td>13</td>
            <td>19.5</td>
        </tr>
        <tr>
            <td>14</td>
            <td>21</td>
        </tr>
        <tr>
            <td>15</td>
            <td>22.5</td>
        </tr>
        <tr>
            <td>16</td>
            <td>24</td>
        </tr>
        <tr>
            <td>17</td>
            <td>25.5</td>
        </tr>
        <tr>
            <td>18</td>
            <td>27</td>
        </tr>
        <tr>
            <td>19</td>
            <td>28.5</td>
        </tr>
        <tr>
            <td>20</td>
            <td>30</td>
        </tr>
        <tr>
            <td>21</td>
            <td>31.5</td>
        </tr>
        <tr>
            <td>22</td>
            <td>33</td>
        </tr>
        <tr>
            <td>23</td>
            <td>34.5</td>
        </tr>
        <tr>
            <td>24</td>
            <td>36</td>
        </tr>
        <tr>
            <td>25</td>
            <td>37.5</td>
        </tr>


    </table>


</center>


</body>
</html>

0 CAUserss9Apesktop,htmlTable.htmi-Sublime Text (UNREGISTERED) Eile Edit Selecti Find Miew Goto Tools Praject Preferences Hel

C Ocean LevelsAssurming The Oce x Ocean Level Rising File | CYUsers/svs97/Desktop/htmlTable.html С Ocean Level Rising Table Y

Add a comment
Know the answer?
Add Answer to:
Ocean LevelsAssuming the ocean’s levelis currently rising at about 1.5 millimeters per year, write a program that displays a table showing the number of millimeters that the ocean will have risen each...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT