Common Computer Science References
At the end of this lesson, you will be able to:
understand and use an if ... then ... elseIf statement
what is a boolean expressions and If ... then ... else
when we’ve wanted to check whether at least one of many conditions is true we have been making use of chained conditionals
see below to show how we might approach determining whether it is the weekend based on the variable “day”
create a program that:
watch the video below about if ... then ... elseIf statements
create a program in JavaScript that actually does what is presented in the movie
ask user their age in a textbox and decide what kind of movie they can watch
see code example below
do the above program in PHP