Question: Write a java program for the question below, Save the file with the following format LastNameFirstNameCit 1 3 0 Hw 2 . java Write a
Write a java program for the question below, Save the file with the following format
LastNameFirstNameCitHwjava
Write a pseudocode for the program
Deliverable: Submit your Java file. Use the file format: LastNameFirstNameCitHwjava for
your file name. NOTE: Java class names must begin with a capital letter ieFooBarCITHW#java
Submit your file to the assignment dropbox in Canvas
Assignment:
Write Java program calculates the total area of a composite D figure made up of a triangle, a rectangle,
and a semicircle.
User Input:
Ask the user to input each geometric shape dimension
Calculations:
Calculate the area for each geometric shape and display it
Add
Adds the areas of the triangle and rectangle.
Subtracts the area of the semicircle.
Calculates the total area of the composite D figure.
Final Output:
Displays the total area of the shaded part of the composite D figure.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
