Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write the pseudo-code to calculate and print the total cost of an item. The subtotal cost is based on unit cost and quantity, and

image text in transcribed 

Write the pseudo-code to calculate and print the total cost of an item. The subtotal cost is based on unit cost and quantity, and the total cost is based on subtotal and a 15% tax rate. Compute the following two variables: subtotal = unit *quantity total = subtotal + tax * subtotal The unit cost is based on the price-break table below, and your solution must use an if-statement to determine the correct unit cost. Ask the user for the quantity and print the total cost. quantity 1 2 to 4 5 or more unit cost $3.00 $2.00 $1.50

Step by Step Solution

3.42 Rating (158 Votes )

There are 3 Steps involved in it

Step: 1

Certainly Below is a pseudocode to calculate and print the total cost of an item based on the giv... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Payroll Accounting 2016

Authors: Bernard J. Bieg, Judith Toland

26th edition

978-1305665910, 1305665910, 1337072648, 978-1337072649

More Books

Students also viewed these Programming questions

Question

Define Management by exception

Answered: 1 week ago

Question

Explain the importance of staffing in business organisations

Answered: 1 week ago

Question

What are the types of forms of communication ?

Answered: 1 week ago

Question

What is meant by the garnishment of wages?

Answered: 1 week ago