Programming Languages
Pascal
Subjective
Mar 19, 2013
Write a Pascal statement to display the text string "Valve open", if the variable waterflow is equal to 1, AND the variable outputvalue is equal to 0
Detailed Explanation
if (waterflow = 1) AND (outputvalue = 0) then writeln('Valve open');
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts