Exercise by:
Daniella Engmann
23 Years Old
North Ridge Lyceum
Read / Add Comments
Daniella : JavaScript Lesson

CODERS MEETING
Saturday 7th December, 2013.
Session 50


COURSE: Coding
COURSE LESSON: JavaScript
ACTIVITY: Conditional Statement in JavaScript


LESSON EXERCISE: Weather Forecast.

Giving the weather to be 18degrees celsius,create a JavaScript programme that does:
1. When the weather is below 18 degrees Celsuis but above 0 degree Celcuis,display 'The weather is very cold'
2.When the weather is more than 25degrees Celsuis but less than 28 degrees,display 'The weather is warm'.
3.When the weather is more than 28 degrees celcuis but less than 36 degrees celcuis,display 'The weather is very hot'
4.When the weather is less than 0degrees celcuis or above 36 degrees celcius,display 'We are experiencing abnormal weather'