00:02
Okay, for problem three, they ask us what is the output for the variable total after a segment of code executes? well, let's see.
00:19
They made numb and total integers, and so let's see.
00:24
They set numb is equal to four, and then they set total to zero.
00:33
Okay, those are integers.
00:36
Now let's see.
00:38
They have a switch based on what numb is.
00:43
So a switch of num, we'll say, okay.
00:48
Num is a variable and it has 4 in it.
00:50
So out of all the cases that we've listed, go to the case where we have 4.
00:56
And what's that code? that code happens to be, let me put my squiggly line.
01:03
I squiggly brace there to end it.
01:05
Case 4 says, set total equal to total plus 3...