( --> )
Task 5
The Task
Imagine a six sided white die with black dots.
One side has one dot, another has two dots,
and so on. Suppose that s represents one
of the faces. Further, suppose that d represents
one of the dots. Declare a variable called
wsa and assign it the white surface
area of the six sided, many (count them in
your head) black dotted die.
Visualization
The Java Instruction
double wsa = ( s.area() * 6 ) - ( d.area() * 21 );