( --> )

Task 1

The Task

Print the area of the given triangle or the
given rectangle, whichever is larger.

Visualization

The Java Instruction

if ( t.area() > r.area() )
{
   IO.println( t.area() );
}
else
{
   IO.println( r.area() );
};