Welcome back, my friend.
Welcome to another lecture today.
You're going to learn you're not going to learn anything new, but you need to do an assignment in that
is coding assignment to cover some of the things that we learned so far.
So you need to do a weight converter from pounds into kilograms.
Now, if you from us, from wherever you want, wherever you are from the world, you can just Google
it and find out.
But the assignment is simple.
So these committee assignments, your ability to do simple math operators and will, in what we have
learned so far, you will need to provide the user for his weight in pounds.
Second, you need to provide the weight in pounds and you will need to convert it into kilograms.
Then you will then you will need to display the weight in the council.
Now, the third is the formula you will need to use is one pound is zero point four or five and that's
kilograms.
That is for your conversion.
The number for then the compared to kilograms to a weight of 60 kilos, which then I put there at 60,
doesn't have to be but 60 and based on that.
Now if the person should go on a diet or not with true or false or with boolean values boolean data
types, right now that is the assignment and the assignment is nothing hard.
You can have a different way of doing things.
Now I'm going to show you the output enough that I'm going to show you the input.
Right.
So here it is, put away in Pouncer if I'm 200 pounds and if I do the inspections a lot, it will give
me.
Yeah, I'm 90 kilos in based on calculation.
I should go to the tire and that is true.
For example, if I put a 100 pounds that will give me 45 kilos based on that calculation, I should
go and die.
That's all.
Because I'm very slim.
Right.
So don't be angry by with the weight just for a practice.
Right.
Don't be angry with anything like that.
It's not like I'm 60 kilos.
It's not something that I, I think that is very slim.
Or you fat.
That doesn't matter.
That is what it is.
No, I will show you the rest of it.
And but you need to pause the video and try to figure it out yourself right now.
This is how I did.
I just put initialise all the variables here you need for the conversion is the one that I provided
here in the given weight of 60 kilograms that we just going to compare now.
I'm just going to pound I'm going to prompt the user into the weight in pounds.
And this is actually the output like one hundred and fifty.
And I did say that you need to display it in the council.
Right.
So one hundred and fifty is actually sixty eight kilograms.
And that is you need to go to a nine.
And after that I'm putting that into council and the decision is initialized here and say given weight,
if it's smaller than a kg that we got it from the conversion after that.
Based on the calculation, you you should go on that or based on the calculation, should you go on
diet, should you go on diet?
And that is a question and that's pretty much it.
Now, don't worry if you don't know how to do it right now, if you haven't had like if you haven't
had a clue how to do it, it's all simple math calculation and it's not that much important for you
to follow the rest of the course.
Thank you very much.
I hope you enjoyed this assignment coding assignment for you and wish you to practice some of the things
like that you can find on the Internet.
A lot of coding assignments, but just stick to my course and you will.
Good.
See you in the next one.