Suggestion - Switch case -
05-13-2014, 05:42 PM
Hello, i have an suggestion:
Implement the switch command. It is similar to "if/else".
Example using If/Else.
If students = 90
do anything
Else
If students = 80
do anything
Else
If students = 70
do anything
Else
if students = 60
do anything
Else
if students = 50
do anything
Example using Switch:
Switch students
Case 90: do anything
Case 80: do anything
Case 70: do anything
Case 60: do anything
Case 50: do anything
and down of the last case, a button to add a new case.
Its a good idea?
|