Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 03:10, brylove603
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately. next, the program determines and prints the prime factorization of the product, listing the factors in increasing order. if a prime number is not a factor of the product, then it must not appear in the factorization. sample runs are given below. note that if the power of a prime is 1, then that 1 must appear in t
Answers: 3
image
Computers and Technology, 22.06.2019 11:30, lindalu
Hassan is writing his master’s thesis, which is a thirty-page document. he received some feedback from his professor in the form of comments, but does not see where the comments are. what is the fastest way for hassan to find the feedback?
Answers: 3
image
Computers and Technology, 22.06.2019 15:00, gmc2771
Hyperactive media sales has 10 windows 7 laptop computers used by sales-people in the organization. each laptop computer has several customized applications that are used during the sales process as well as customer relationship management software. all of the applications on the laptops are difficult to configure and have large data files. if all of the laptops have current hardware, what is the easiest way to install windows 10 on them?
Answers: 1
image
Computers and Technology, 22.06.2019 21:00, raquelle66
So im doing this school challenge and the teachers said whats the average text a student gets a day so i need to get about 20 in a day but dont know how can you guys 2163371293
Answers: 2
Do you know the correct answer?
Assembly ARM programming Your program will simulate the operation of a Furniture Factory saw. A Fur...

Questions in other subjects:

Konu
History, 16.12.2021 01:00
Konu
Biology, 16.12.2021 01:00
Konu
Mathematics, 16.12.2021 01:00