Answered step by step
Verified Expert Solution
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
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...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started