Answer:
The output of the given JavaScript code is "5".
Explanation:
In the given JavaScript code, a method calculate is declared, inside the method, three variable "s, x, and y" is declared, in which all variable assigns a value, that is "2, 2, and 3". In the next step, a conditional statement is defined, that check value, which can be described as follows:
- In the, If the block, x variable checks its value is greater then 4 if it is true, it will add value 2 in s variable otherwise, it will go to else if block.
- In this block it will check the value of y variable greater then 4 if it is true, it will add value 4 in s variable.
- In both of the above conditions is false, it will go to else section, in this, variable "s" add value 3 in its variable, and use an alert box to print its value.
B. cable tv. Everyone can live without tv
you need food and shelter to live and insurance is more necessary than tv
1. The CPU (central processing unit) does the calculations and comparisons that make the computer work. They use millions of transistors to do so.
2. The ROM holds all the programs on the computer. This is most often the "C" drive.
3. The ROM also has the operating system that is used to run the computer.
Answer:
layout,image,font,background color,
Explanation: i just did it on edge