Declaring variables, taking input, calculating and printing out strings. We are familiar with this step by step sequential processing now. But what if you need to make decisions? For instance, based on a user's description, determine if a shape is a circle, a rectangle, a triangle, a parallelogram, or a trapezoid?
Given an integer, print "odd" if it's odd and print "even" otherwise.
Given the two integers, print the least of them. Can you print the least of three numbers?
For the given integer X print 1 if it's positive; -1 if it's negative. Can you print 0 if it's equal to zero?