Write a Java Program that would solve the problem below. As this is a problem set, the following is required:

Write a Java Program that would solve the problem below. As this is a problem set, the following is required:

Question:

Write a Java Program that would solve the problem below.  As this is a problem set, the following is required:Header information, which should include:Your name (Megan)Teacher’s name (Mr. Allen)Course code (ICS 3U1)Date of final edit (September 27)A description of the programComment linesExplaining the purpose of each variableExplaining lines of code that calculates and/or manipulates value of a variableExplain any code that may be hard for other programmers to read and/or understand.Error LogList any major errors encountered, and solution to this errorsNo need to include errors such as missing characters, wrong caps, missing spaces, brackets etc.Do not use loop structure.
  Problem Description:Massaro’s Random Round Table Artisan Furnishment Co. is looking for a programmer who can write a program to calculate how much to charge a customer for a round table based on the customer’s provided size requirement.  The program shall ask for the diameter (in cm) of the table.The program would then generate a random whole number between 5-10, which is the number of tables the customer must purchase.The program would then generate a random price per cm squared within the range of $10.99 to $13.99.The program would then generate a random discount between 15 – 25%.The program would then calculate the area of the table using the constant Math.PI, and calculate the cost of all the tables, apply tax to the total, and display the final value formatted to two decimal places with the dollar sign ($) before the value.

Expert Answer:

Answer rating: 100% (QA)

import java text DecimalFormat import java util Random public class RoundTableCostCalculator public
View the full answer