PROBLEM 6 : FIND THE SHADED AREA
Given the diagram below, you are required
to find the shaded area.
Input
The first line of the input contains the length and width
of the outer shape. Followed by the
length and width of the inner shape.
Output
The
output will print the area of the outer and inner shapes and the shaded area.
Sample
Input
|
Sample
Output
|
10 5
2 2
|
36
4
32
|
Problem Setter : Mahfudzah Othman