Answer:
A) Parentheses
Explanation:
Conditional statements control behavior in JavaScript and determine whether or not pieces of code can run.
There are multiple different types of conditionals in JavaScript including:
If” statements: where if a condition is true it is used to specify execution for a block of code.
“Else” statements: where if the same condition is false it specifies the execution for a block of code.
“Else if” statements: this specifies a new test if the first condition is false.
Now that you have the basic JavaScript conditional statement definitions, let’s show you examples of each.
If Statement Example
As the most common type of conditional, the if statement only runs if the condition enclosed in parentheses () is truthy.
EXAMPLE
if (10 > 5) {
var outcome = "if block";
}
outcome;
OUTPUT
"if block"
Here’s what’s happening in the example above:
The keyword if tells JavaScript to start the conditional statement.
(10 > 5) is the condition to test, which in this case is true — 10 is greater than 5.
The part contained inside curly braces {} is the block of code to run.
Because the condition passes, the variable outcome is assigned the value "if block".
Answer:
1.T 2.f 3.t 4.f 5.f 6.f 7.t 8.t 9.f
Answer:
There are many factors that cause aggregate demand to shift from AD to AD1. The unemployment rate will fall and inflation will increase.
<u>Explanation:</u>
A Shift in aggregate demand from AD to AD1 means there has been a fall in demand. Various factors that cause demand to decrease are:
- Increase in price of a good itself
- Increase in the price of complimentary goods-This will lead to a fall in demand. Like ink and pen are complementary goods. if the Price of ink increases then demand for pen will decrease.
- A Decrease in the price of substitute goods-Like tea and coffee.
- Expectation regarding future fall in price
So due to the decrease in demand finally the unemployment will increase and with that, the inflation rate will increase making things dearer.
Butterfly one I forgot the name metapods evolution
Answer:
C
Explanation:
what types of loop will be used.