Question
Write a Java program that calculates the total manufacturing cost and unit cost of waterproof Bluetooth speakers. Following long-standing company tradition, the company does not
Write a Java program that calculates the total manufacturing cost and unit cost of waterproof Bluetooth speakers. Following long-standing company tradition, the company does not ever give employees a pay raise. The direct labor cost per employee is fixed at $25. Use JOptionPane for input and output. Ensure no more than 2 decimal places in the output. Use appropriate data types. The direct material cost, number of employees, manufacturing overhead, and number of units manufactured are all inputs gathered from users. You may assume users will input only numbers, no $ or characters. The examples below are provided for reference but any input may be used to test your program.
Example inputs: Direct material cost: $10000 Total number of employees: 15 Manufacturing overhead cost: $800 Number of units manufactured: 500 Calculation: Manufacturing cost = 10000 + 25.0*15 + 800 = $11175.00 Unit cost = 11175/500 = $22.35
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