Answer:
"The employee pay rate is normal" is the correct answer for the above question.
Explanation:
- The above question code is written in the c++ language, in which there is one variable of bool type whose value is true.
- And this variable is also tested in the if-condition which gives the true and the if-body will be executed.
- Then the internal if-condition will give the false result because the value of the empsalary is not less than 45000. It is because the above statement "empsalary=45000" will assign the value 45000 on the empsalary variable.
- Then the else block will be executed which prints "the employee pay rate is normal".
I've included my code in the picture below. Best of luck.
Answer:
Check the explanation
Explanation:
# Step 1
the first thing to execute will be......
f = open("states.txt")
# Step 2
the second step is......
states = []
for line in f:
states.append(line.strip())
# Step 3:
the third step is to......
for state in sorted(states):
print(state)
f.close()
Answer:
I would say b but if I'm wrong take the point back