This is the lecture where you will have your first coding task, we have all discussed some basic things
in JavaScript.
You already have some knowledge and let's use it in practice.
This is a simple task which is based on multiple conditions.
Imagine that we have two students, John and Nick.
They've got this course on exam.
The exam had a lower passing limit and we wonder if both of them or one of them pass an exam or failed.
In order to do this task, you will need to use conditional statements with logical operators who will
have seven steps which will guide and help you.
At first you need to create variables for this course of students and set of values as 80 and 45.
Then you need to create another variable which will represent the lower limit for passing the exam.
And it is 51.
Third step is to ride the condition in its statements, which will check if both students have passed
an exam and then log the results in council.
Next, you need to use LC statements in order to check if one of these students has passed an exam and
again log the results in council after that, in order to display in council that both students have
failed, you will need to use all statement.
Last step is to find out which student has passed an exam and display in Castle the student's night
with this relevant score to the and you need to test all the possible cases.
I mean, if both students pass, if John passed and he failed, then if Nick passed and John Felt and
they lost, both students felt.
For doing that, you can simply change the values of discourse which were set initially as eight and
four or five.
If you are already familiar with JavaScript, then it will be very easy for you, but if you have trouble
with doing this task, don't worry, you will see the solution of it.
But I would like to recommend to try your best and find somehow the solution.
All right, let's go ahead.
Good luck.