00:01
In this question here we have to write the program that take 10 values from the keyboard and find the maximum and the minimum values in the console.
00:08
Okay, so here we will use this to get the user on output.
00:13
So we have variable name equals to we are getting the prompt prompt will use the prompt command that is enter numbers.
00:24
Then we have the constant of split underscore string that equal to name dot split.
00:37
We will split the input by the comma then we will print out the input array.
00:44
So we have that console dot log.
00:48
We have this split underscore string.
00:53
So we have the variable minimum that equal to find the minimum value from this split underscore string.
01:06
Then we have then we have what variable max for this we have to find max again from this split string.
01:22
So now we will get what we will get console dot log.
01:28
This is log minimum is this is dollar sign minimum comma.
01:42
We will write here top and this will be closed now like same we have control dot log.
01:51
This will be maximum is again dollar sign.
01:55
This is max.
02:00
We will get the maximum value from the array.
02:03
So for this we have the function that is find max from the array and we have open the loop here...