( --> )
A Nice Exercise
Setup
Suppose that
- c and d are Circle variables
- s is a Square variable
- r is a Rectangle variable
- t is a Triangle variable
- p is a Polygon variable
Furthermore, assume that each of these variables
has already been assigned a value.
Instructions
Write one Java instruction, which may contain one
or more subordinate instructions, if need be, to perform
each of the following tasks.