subject

Assembly ARM programming Your program will simulate the operation of a Furniture Factory saw. A Furniture Factory has an automatic saw that cuts 1" x 6" x 12' planks to the length specified by the user. The saw is preloaded with three full-length boards. If the first board is long enough cut the desired length from the board. If the first board is not long enough continue checking the other boards until you find one long enough. The user enters the length in whole inches. 144" is the maximum length request and 6" is the minimum length request. Continue prompting the user until all the boards are at less than 6" long. After each board is cut the program is to print out the total number of boards cut so far, the total linear length of the boards cut (in inches) and the length remaining on each of the three boards. Prior to shutting down the program the remaining inventory is calculated and displayed as waste. When the program starts it shall display identification and the current inventory level.
For example:
Cut-It-Up Saw
Boards cut so far: 0
Liner length of boards cut so far: 0 inches
Current Board Lengths:
One: 144 inches
Two: 144 inches
Three: 144 inches
The program shall then prompt the user for the length of board to cut. For example:
Enter the length of board to cut in inches (at least 6 and no more than 144):
The program shall reject any invalid inputs (characters, less than 6, or greater than 144) and
prompt for entry again.
When a valid input is provided the program finds a board that is long enough and cuts the
requested length from the board. If there is not a board long enough the program displays there
are no boards long enough and prompts for a new (shorter) request.
After each valid board cut the current inventory levels are displayed. For example:
Boards cut so far: 4
Liner length of boards cut so far: 75 inches
Current Board Lengths:
One: 69 inches
Two: 144 inches
Three: 144 inches

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:00
Write a program which asks you to enter a name in the form of first middle initial last. so you might enter for example samuel p. clemens. use getline to read in the string because it contains spaces. also, apparently the shift key on your keyboard doesn’t work, because you enter it all lower case. pass the string to a function which uses .find to locate the letters which need to be upper case and use toupper to convert those characters to uppercase. the revised string should then be returned to main in the form last, first mi where it will be displayed.
Answers: 1
question
Computers and Technology, 22.06.2019 20:10
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Choose the correct citation for the case which established the "minimum contacts" test for a court's jurisdiction in a case. select one: a. brown v. board of education of topeka, 347 u.s. 483 (1954). b. international shoe co. v. washington, 326 u.s. 310 (1945) c. haynes v. gore, 531 u.s. 98 (2000). d. international shoe co. v. washington, 14 u.s. code 336.
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
Mastercard managers are motivated to increase (1) the number of individuals who have and use a mastercard credit card, (2) the number of banks and other clents who issue mastercards to customers and/or employees, and (3) the number of locations that accept mastercard payments. discuss how mastercard could use its data warehouse to it expand each of these customer bases.
Answers: 3
You know the right answer?
Assembly ARM programming Your program will simulate the operation of a Furniture Factory saw. A Fur...
Questions
question
Business, 13.10.2020 01:01
question
Biology, 13.10.2020 01:01
question
English, 13.10.2020 01:01
question
Mathematics, 13.10.2020 01:01
Questions on the website: 13722361