Friday 14 December 2018

LAB 4

Welcome to my blog :)

This is time i learnt about Multi-way and nested selections !
I learnt to use multi-way and nested selection statement to specify alternative paths of program's execution. Before this, i have learned one way if statement and this time i can do two way if statement. In this two way if statement, it could be another statements for true case in one problem. This two way statement allow us to create multiple choice or decisions.

In order to apply this two way if statement, we have been asked to create our own game. ouh yeahhh it is interesting. i have created my own story which i clearly can see the function of this two-way if statement. hiks :)

No comments:

Post a Comment

LAB5

hallo ! i'm back for the reflection of lab5 :) so, the topic for lab5 in week 6 is switch statement, logical operators and conditional...