Ask Question
15 March, 08:55

Wood Trim, Inc. wants a program that will allow its sales clerks to enter the length (in feet) of the trim ordered by a customer and the price of one foot of trim. Design an application that will calculate and print the total price of the trim before taxes, and then the total price of the trim after the 5% sales tax is added. Be sure to use a constant for the sales tax, and set the value of the constant to 0.05. Write pseudocode for an application program that contains a main () module and a printTrimCost () module. The main () module will input the data (the length in feet of the trim and the price of one foot of trim) and call the printTrimCost () module, passing the correct arguments. The printTrimCost () module that will display the data the user entered, perform the calculations for the total price of the trim before taxes, and the total price of the trim after taxes, and display the results of the calculations. (No UML diagram needed for this problem.)

+5
Answers (1)
  1. 15 March, 12:09
    0
    The program is (using pseudocode)

    main ()

    Input length

    Input price

    TrimCost = length x price

    printTrimCost ()

    Print "length x price = " & TrimCost

    The main module will ask for the length and the price per feet. Then, an operation will calculate the cost. Finally, the results is shown including the calculations.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Wood Trim, Inc. wants a program that will allow its sales clerks to enter the length (in feet) of the trim ordered by a customer and the ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers