00:01
In this video, we're going to be calculating the largest and smallness of three integer values.
00:08
So to get started, we're going to treat three different variables.
00:10
We'll call them a, b, and c.
00:15
And 4a will have negative 53, or sorry, negative 50, and let's see, 53 and 78.
00:30
93 and 78 for the last two values.
00:36
Okay, so we want to pronounce the largest.
00:40
So to do this, we can create an f statement.
00:45
Think that if, um, if a is greater, c is greater than b and c is greater than a.
01:06
Then we want to print out largest.
01:15
So, system that out print on a new line.
01:32
You want to print c.
01:38
And before our smallest value, comment this section, and then we'll do a smallest value.
01:50
Smallest value, else if...