![]() |
|
1. Using Javascript if and else statements only,create a program that displays the following statements when the weather value changes a. If the weather is less thsn or equal to 20 degrees,the program should display "It is cold". b. If the weather is greater than 20 degrees but less than 32 degrees,the program should display "It is warm". c. If the weather is greater than 30 degrees,the program should display "It is hot". Use the variable var weather to represent the weather value |
Using JavaScript while loop and if statements only,Create a program that only displays factors of 9 between 1 and 400. | Using Javascript while loop and if statements only,create a 16 times table from 1 to 300 and sisplay as follow; 16*1 = 16 16*2 = 32 Etc... |
It is cold |
9 18 27 36 45 54 63 72 81 90 99 108 117 126 135 144 153 162 171 180 189 198 207 216 225 234 243 252 261 270 279 288 297 306 315 324 333 342 351 360 369 378 387 396 |