Documente Academic
Documente Profesional
Documente Cultură
P3
Dhanush Patel
Unit 20
P3
Unit 20
P3
Loops:
For/In: Properties of an object are looped.
Decision making:
If/else: these are decision based statements. Results depend on if the
value is true or false. The If statement executes the code if the value is
true. The Else statement executes the code if the condition is false.
In this coding you can see the
resulted greeting depends on
the time of the day so for
example if the time is 9.30am
the value will be Good
Morning.
Functions:
Dhanush Patel
Unit 20
P3
Dhanush Patel