explain this program .
specially the if else if commands.
Attachments:
Answers
Answered by
0
Answer:
if else if. is a conditional statement
it identifies that if the condition is true then the following command will be executed and. else is used if the statement is false then the other command will be executed
Answered by
0
Inside html it is JavaScript
a b c and l are variables
In a b and c user will enter the numbers
If number a is greater than b then the value of a will be equal to l
If not (else) then value of b will be equal to l
Then if c is greater than l value of c will be equal to l
So finally l will the largest number and will be printed
a b c and l are variables
In a b and c user will enter the numbers
If number a is greater than b then the value of a will be equal to l
If not (else) then value of b will be equal to l
Then if c is greater than l value of c will be equal to l
So finally l will the largest number and will be printed
Similar questions