Programming Languages Pascal Subjective
Mar 19, 2013

Write a Pascal statement to compare the character variable letter to the character constant 'A', and if less, prints the text string "Too low", otherwise print the text string "Too high"

Detailed Explanation

if letter < 'A' then writeln('Too low')
else writeln('Too high');

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback