Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the pseudocode and java program for the geometric shape below, use comments for your pseudocode. You need to use the data provided from the
Write the pseudocode and java program for the geometric shape below, use comments for your
pseudocode. You need to use the data provided from the shape below as user input. Save the file with
the following format.
LastNameFirstNameCITHwjava
The program will prompt the user to enter the radius of the circles eyes and mouth base and height for
the triangle, and the radius for the circlenose also the width and height of the rectangle.
The program will need to calculate the total the shaded area. Also, your first and last name need to
show up on the sample run as I have mine below. Please use the following
Use pi
Hints: Area of triangle heightbase
Area of Circle radius X radius X
Area of Rectangle WidthHeight
Use the following data to test your program.
circles eyes and mouth radius Inch The right eye shows only half, the left eye shows the full eye
Triangle height Inch
Triangle base same as Rectangle width Inch
Rectangle height Inch
Circlenose radius Inch
Note: for the half circles the area, you will need to divide the area by
Dont worry about the unit Inch and please do not combine.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started