Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 85 - 2625 PortGPt V2.1
P. 85

    On running the above program, we get the following output:

                      Program 4: To display one of the two alternate messages.

                     <!DOCTYPE HTML>
                     <HTML>
                     <HEAD>

                         <TITLE> if-else statement </TITLE>
                     </HEAD>
                     <BODY>

                                                                                     Conditional Statements in JavaScript  83

| 80 81 82 83 84 85 86 87 88 89 90 |