Write a statement that sets the flag stop_processing to true when either of the following conditions are true. Assume that stop_processing has been initialized as false.
• end of data is true
• processing error is true
The solution using direct assignment of logic is:
LET stop_processing = end_of data OR processing_error
An alternative solution using an IF statement is:
IF end of data OR processing_error THEN stop_processing = true
Computer Science & Information Technology
You might also like to view...
Before the dot-com bubble burst, one method of advertising was to pay someone who had many hits to their web page to place an advertisement on the web page
Indicate whether the statement is true or false
Computer Science & Information Technology
Which of the following is the best choice of font for a typical business document?
A) Arial 11 pt. B) Calibri 11 pt. C) Times New Roman 8 pt. D) Times New Roman 12 pt.
Computer Science & Information Technology