Answer: Azzam used the tool while he was on the third page
Explanation:
The most likely the reason why the phrase was not fixed is because Azzam used the tool while he was on the third page.
This can be infered from the information given when we're told that he uses the Find and Replace tool and clicks on "Replace All" to fix the issue with regards to the error that he made and thus was done from the third page. Therefore, the tool might not have worked for the first page.
Question 1:
4. it increases the number of employees
Question 2:
2. false
Question 3:
2. it causes great damage to the ozone layer
Question 4:
1. true
In an if...else statement, if the code in the parenthesis of the if statement is true, the code inside its brackets is executed. But if the statement inside the parenthesis is false, all the code within the else statement's brackets is executed instead.
Of course, the example above isn't very useful in this case because true always evaluates to true. Here's another that's a bit more practical:
#include <stdio.h>
int main(void) {
int n = 2;
if(n == 3) { // comparing n with 3 printf("Statement is True!\n");
}
else { // if the first condition is not true, come to this block of code
printf("Statement is False!\n"); } return 0;
}
Output:
Statement is False!
Answer:
Explanation:
First take the input of the numbers:
x = int(input("Enter the number of elements to be in the list:"))
b=[ ]
for i in range(0,x):
a=int(input("Element: "))
b.append(a)
c=[ ]
d=[ ]
for i in b:
if(i%2==0):
c.append(i)
else:
d.append(i)
c.sort()
d.sort()
count1=0
count2=0
for k in c:
count1=count1+1
for j in d:
count2=count2+1
print("Largest even number:",c[count1-1])
print("Largest odd number",d[count2-1])