Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please dont you any coding platforms such as Python and C but however use this pseudocode format as shown in example photo under. thank you

image text in transcribed
Please dont you any coding platforms such as Python and C but however use this pseudocode format as shown in example photo under. thank you
image text in transcribed
Design a Do-While loop that asks the user to enter two numbers. The numbers should be added and the sum displayed. The loop should ask the user whether he or she wishes to perform the operation again. If so, the loop should repeat; otherwise it should terminate. 1 I/ Variable declarations 2 Declare Real wholesale, retail 3 Declare String doAnother 4 5 // Constant for the markup percentage 6 Constant Real MARKUP =2.50 7 8 Do 9 I/ Get the wholesale cost. 10 Display "Enter an item's wholesale cost." 11 Input wholesale 12 13 I/ Calculate the retail price. 14 Set retail = wholesale * MARKUP 15 16 I/ Display the retail price. 17 Display "The retail price is \$", retail 18 19 // Do this again? 20 Display "Do you have another item? (Enter y for yes.)" 21 Input doAnother 22 While doAnother == " y " OR doAnother == "

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

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books

Students also viewed these Databases questions

Question

Which job has the highest profit?

Answered: 1 week ago

Question

(3) An example of negative feedback that you received well.

Answered: 1 week ago