Demonstration: Test Plans for Selection statements

Write a test plan to verify the following procedure.


// Display a message describing today's temperature
PROCEDURE SayTemp(int Temperature)
BEGIN
    PRINT "Today is a "
    IF (Temperature <= 32) THEN
        PRINT "cold "
    ELSE IF (Temperature <= 85) THEN
        PRINT "nice "
    ELSE
        PRINT "hot "
    END IF
    PRINT "day. "
END