Ask Question
13 December, 04:35

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. 13 December, 08:32
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers