There must be a photo for me to answer!
Answer:
The source code files for this question have been attached to this response.
Please download it and go through each of the class files.
The codes contain explanatory comments explaining important segments of the codes, kindly go through these comments.
<span class="sg-text sg-text--link sg-text--bold sg-text--link-disabled sg-text--blue-dark">
java
</span>
<span class="sg-text sg-text--link sg-text--bold sg-text--link-disabled sg-text--blue-dark">
java
</span>
<span class="sg-text sg-text--link sg-text--bold sg-text--link-disabled sg-text--blue-dark">
java
</span>
<span class="sg-text sg-text--link sg-text--bold sg-text--link-disabled sg-text--blue-dark">
java
</span>
<span class="sg-text sg-text--link sg-text--bold sg-text--link-disabled sg-text--blue-dark">
java
</span>
HELP ILL GIVE MOST BRAINLY AND 50 POINTS
HURRY PLEASE component c it is a compound so it will break