So that type of my valuable is float OK.
And the name of my value is Celsius OK.
And then I assign a value to my variable here.
OK.
For example 86.
OK.
And then at the end of my statement I need to put in a semi-colon OK.
So now I want to output the value of this variable to the console.
OK.
System that out that prevents land and then inside the prentices I just need to refer to the name of
my variable.
OK.
And then at the end of my statement I need to put in a semi-colon.
So now if I run my project as you can see it outputs this value to the console.
OK so now the first step is that we need to multiply the Celsius value by night.
OK.
So again I just need to refer to the name of my variable here.
Celsius Okay.
And then I put in an assignment operator here because I want to assign a value to my value.
OK.
And then I put in an assignment operator here and then I want to assign a value to my value.
So again I refer to the name of my variable in order to read it it's.
OK Celsius and then I multiply this value OK by nine.
And then at the end of my statement I need to put in a semi-colon.
OK.
So now if I output the value of this valuable to the console Let's see what happens system that I got
that slam inside the Prentice's referred to the name of your variable.
And then at the end of your statement you need to put in a semi-colon.
OK.
So if I used on my project as you can see it outputs this value for the cost.
OK this is the last value of this Celsius variable here.
OK.
And this value is the old value of this Celsius variable here.
OK.
We created this Celsius variable in line between the free and we decided to output the value of this
variable to the console and we decided to output the value of this variable to the console in line 24.
Okay.
And as you can see here in the console it outputs this value to the console.
Okay.
Because in this line we are actually outputting the value of this value back to the console.
Okay.
And when and when and when this line is executed it it's going to out food this number with the console
but in line 26 as you can see we changed the value of this variable to another value.
Okay.
The first with the name of the variable and then we use the assignment operator in order to assign a
value to my value.
Okay.
And on the right hand side of the operator I multiplied the value of this variable by nine.
OK.
And then I assigned the result of this operation to the Celsius variable and in line 27 I decided to
output the value of this variable to the console.
OK.
So now as you can see this is the last value of these Celsius variable.
Okay.
So this is a very important point that you should consider about about assigning values to variables.
OK so now we need to actually divide the result by 5.
OK.
So here again I refer to the name of my variable and then I use the assignment operator here because
I want to assign another value to this variable.
I want to divide the value of this variable by 5.
OK.
You want to divide this number by 5.
So I just need to again refer to the name of my variable.
And then use that division operator here and then put the number five here.
OK.
And then at the end of my statement I need to put in a semi-colon.
So here again I want to output the value of this variable to the console system that I want that print
to Len
and then inside Apprentice's I just need to refer to the name of my variable Celsius.
And then at the end of my statement I need to put in a semicolon.
OK.
So now if I run my project as you can see it's going to output this value to the console.
This value is the result of this operation here.
OK that be assigned to Celsius variable and in this line of code are in line.
Firstly we decided to output this value to the console.
So as you can see here this is that value.
OK this is the last value that we assigned to the Celsius variable.
Okay.
And finally we need to actually be at fifty two values to this number.
Okay this is the last value of this Celsius variable.
So just like in here Celsius.
Okay.
And again I use the assignment operator.
And then I want to assign another value to this variable.
OK.
So here I just need to refer to the name of a variable and then add 32 values to the value of my.
OK.
And at the end of my statement I need to put in a semi-colon.
So now if you want to output the value of this variable to the console I just need to type in here system
out of that plane to land.
And then inside the apprentice's I just need to refer to the name of my body.
OK.
And then at the end of my statement I need to put in a semi-colon OK.
So now if I actually run my project as you can see it's going to output this value to the console.
OK.
So if we successfully converted this Celsius value into farenheit.
Okay.
And this is our value.
So here again I want to actually concatenate the value of this variable with another text.
So I just use the plus operator here.
And then I put two double quotes here.
And then inside the double codes I just need to put in my text.
So here I use the space here.
And then I just need to type in degrees
Fahrenheit
OK.
So now if I run my project again as you can see it's going to output this value to the con..
OK.
And this is the value that we converted from Celsius to Fahrenheit.
And this is the text that we pulled after this variable here.
OK.
So now I want to actually explain more about other aspects of Java programming.
Ok so now let me actually comment out these lines of code here because I don't want to execute them.
OK so as you can see I use the multiline comment here in order to comment out all these lines here.
OK so the first point that I want to talk about is that you can combine assignment statements in this
unusual way that I'm going to show you.
OK so first I'm going to declare some variables here.
So in the data type of my variable is 8 and then the name of my variable is for example a the data type
of my second value.
But is it.
And the name of my second value and is B.
OK.
And I want to declare another variable and see and hear the last value about that I want to create here.
I want to actually assign a value to my value it.
OK so ain't it.
And then I assign for example Number five to my variable here.
OK.
So now I want to show you that you can combine assignment statements in this unusual way.
So a is equal to B is equal to C is required to set and then at the end of my statement I need to put
in a semicolon.
So now let's see what happens here.
System that out that print learn and then inside the parenthesis I just need to refer to the name of
my valuables here.
OK.
So I just typed in here a
and then I use the plus operator in order to concatenate this text with my a variable here.
OK.
And again I use the plus operator and then inside the double codes I type in B and then I use this space
here.
And then I concatenate this text.
It might be valuable.
Again I use the plus operator here.
And then inside the double quotes I just type in here see and again I use the plus operator in order
to concatenate this text fit my C variable and then again I use the plus operator here concatenate with
another text here said.
And then I use the plus operator in order to concatenate this text with does that.
OK.
And then at the end of my statement I need to put in a semicolon.
So now let me actually put his space here and there are space here and another space here.
OK so now if I run my project let's see what happens.