Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
Repetition Duplication (Java)
Your task is to create a sketch that draws this image (the gray is the background):
You are not allowed to use images, you must recreate the image using drawing commands such as rect(), triangle(), etc.
Your final code should be as short and compact as possible. Think about using "for" or "while" loops. Think about defining functions and calling them instead of copying and pasting code.
You will be judged on the organization and cleanliness of your code. Do not include any unused code. Add comments to explain what the different parts of your code are doing. Make sure your indentation is correct everywhere in the code.