Answer:
There is no value of the number variable, for which the loop can be true in any iteration.
Explanation:
- The above loop states the condition that the value should be less than 100 and greater than 500. It is because the loop holds the and condition which gives the true if both conditions will be true.
- The first condition of the while loop states that the value of the number variable is less than the 100.
- The second condition of the while loop state that the value of the number variable is greater than the 500.
- The and condition of the while loop will true if both conditions will true.
- But there is no number which is less than 100 and greater than 500.
- So no number can satisfy the while condition to be true.
Answer:
input process and output hehe
Answer and Explanation:
For returning four columns from the Invoices table, named Number, Total, Credits, and Balance the SELECt statement is as follows
Select Invoice Number As Number
Invoice Total As Total
Payment total + credit total As Credits
Invoice total
(Payment total + credit total) As Balance
These are displayed as above