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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!