Question: make sure it can be work in visual studio Design an algorithm that will prompt a terminal operator for the price of an article and

 make sure it can be work in visual studio Design an

make sure it can be work in visual studio

Design an algorithm that will prompt a terminal operator for the price of an article and a pricing code. Your program is then to calculate a discount rate according to the pricing code and print to the screen the original price of the article, the discount amount and the new discounted price. Calculate the pricing code and accompanying discount amount as follows: Pricing code Discount rate 50% 40% 33% 25% 0% 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, are to be printed

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!