Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please answer in c++ The following algorithm describes how a bookstore computes the price of an order from the total price and the number of

image text in transcribedplease answer in c++
The following algorithm describes how a bookstore computes the price of an order from the total price and the number of the books that were ordered 1. Read the total book price and the number of books. 2. Compute the tax (75% of the total book price). 3. Compute the shipping charge based on the number of books: 1. $z per book ifyou order less than s books 2. $1 per book if you order less than 10 books 3. free if you order more than (or equal) 10 books 4. Compute the price of the order as the sum of the total book price, the tax, and the shipping charge s Display the total price with an informative message 6. Display a message for invalid input Convert this algorithm to a pseudocode and write iteither in the space provided or in a text editor and attach as a text file Remember to consider names for all values (including constants), use meaningful names, and give enough information to the user

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

3rd Edition

978-1119907466

More Books

Students also viewed these Databases questions

Question

What were the reasons for your conversion or resistance?

Answered: 1 week ago

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago