Question
4.9 Lab Full Program: Calculations & Formatting This program will implement calculating a courtyard's dimensions for an architect. Download the Full Program requirements from WorldClass
4.9 Lab Full Program: Calculations & Formatting
This program will implement calculating a courtyard's dimensions for an architect.
Download the Full Program requirements from WorldClass Course Assignments by Week: Topic 4 Programming Assignments
Sample Run:
Program to calculate courtyard area Enter company name: XYZ Incorporated Enter pentagon radius in feet: 30 Calculations for XYZ Incorporated courtyard Side Area Pentagon 35.2671 2139.877 Hexagon 45.8472 5461.079 -------- Total 7600.956 sq ft
/** * Program description * * @author Your Name */
import java.util.Scanner;
public class CourtyardCalculator {
public static void main(String[] args) { final String COL1_HEADER = "Side"; final String COL2_HEADER = "Area"; final double HEX_SIDE_MULTIPLIER = 1.3; // Insert your program code here return; } }
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