Question: Write a java program for the following question using object and classes, get and set method . Instructions A toy manufacturing organization manufactures two types

Write a java program for the following question using object and classes, get and set method .

Instructions

A toy manufacturing organization manufactures two types of toys A and B. Both the toys are sold at $25 and $20 respectively. There are 2000 resource units available every day from which the toy A requires 20 units while toy B requires 12 units. Both of these toys require a production time of 5 minutes. Total working hours are 9 hours a day. What should be the manufacturing quantity for each of the pipes to maximize the profits?

Write a program that takes in a linear programming model and calculates the max profit. User will enter in the values for X and Y profit equations User will enter in the values for X and Y for two equations The output will display the profit model (equation with the input value) The output will also display the total max profit

Below is just an example of input and output only, NOT a solution.

Input Max.Z=3x+22y --> 3 22 1x+14y<=500 --> 1 14 500 7x+9y<=80 --> 7 9 80

Output Model to Maximiz your profit is Z=3x+22y Z=3(17)+22(5) Z=$161

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!