Ask 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 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.)

+3
Answers (1)
  1. 23 April, 10:13
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers