Question: 2 - The production process in a polyester factory is carried out separately on weekdays and weekends. Follow the instructions and write the flow chart
The production process in a polyester factory is carried out separately on weekdays and weekends. Follow the instructions and write the flow chart of a program that finds how many days the production lines will work according to the demand from the customer. pts
There are three production lines in the factory, L L L The production capacity of L L and L bands is and respectively.
On the weekends, the production capacity of the production lines is halved becomes half
The order quantity of the product will be entered from the keyboard.
The production line will be selected by user. If the user enters a wrong line number, for example L the program must throw an error.
When the calculation of the production day is finished, the user will be informed.
Here are some tips while you are creating your chart:
Specify min variables such as Qty Total etc.
Use modulus operation when calculating the total. For the and the days.
Do not forget to increase the day for each step.
Sample screen outputs are shown below.
tableSample Screen for L:tableEnter the order quantity?: Which band do you choose?:LAn order of pcs can be produced in daysSample Screen for L:tableEnter the order quantity?: Which band do you choose?:LAn order of pcs can be produced in daysSample Screen for L:tableEnter the order quantity?: Which band do you choose?:LAn order of pcs can be produced in days
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
