Question: Design a pseudocode and corresponding flow chart that keeps prompting a terminal operator for the price of an article and a pricing code from a

Design a pseudocode and corresponding flow chart that keeps prompting a terminal operator for the price of an article and a pricing code from a list of 50 items. Your pseudocode should then calculate the discount according to the price code and print to the screen the original price of the article, the discount and the newly discounted price. The pricing codes and accompanying discounts are as follow:

Pricing Code Discount Rate
H 50%
F 40%
T 33%
Q 25%
Z 0%

Pricing Code Discount Rate H 50% F 40% T 33% Q 25% Z 0% If the pricing code is Z, the words "No Discount" are to be printed on the screen. If the pricing code is not H, F, T, Q or Z the words "invalid pricing code" is to be printed. What is to be submitted: I. Pseudocode II. Flow Chart Here are the guide lines to follow: Variables declaration Selection statements Repetition statement Correct calculations Correct outputs Program logics Program Syntax Correct use of flow chart symbols Correct layout of flow chart Start & stop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!