Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Write a program that asks user to enter an item's wholesale cost and its mark-up percentage. It should then display the item's retails price.

C++ image text in transcribed
Write a program that asks user to enter an item's wholesale cost and its mark-up percentage. It should then display the item's retails price. The program should implement function in the code. Demonstrate a loop for calculation of retail price. Formula: wholesalecost + (percentage/100 + wholesaleCost) Sample of output: Enter item wholesale cost: 10 Enter markup percentage: 25 Retail price: 17.50 Calculate again? (Enter YOL N): Y Enter item wholesale cost: 10 Enter markup percentage: 50 Retail price: 15.00 Calculate again? (Enter Yor N): N Total marked up price is RM12.50 Thank You (20 Marks) (CLO3:PLO2:03)

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

Semantics In Databases Second International Workshop Dagstuhl Castle Germany January 2001 Revised Papers Lncs 2582

Authors: Leopoldo Bertossi ,Gyula O.H. Katona ,Klaus-Dieter Schewe ,Bernhard Thalheim

2003rd Edition

3540009574, 978-3540009573

More Books

Students also viewed these Databases questions

Question

Propose a mechanism for the following reaction: + HC-o trace H CH5

Answered: 1 week ago

Question

Identify and describe a suggested outline of a business plan.

Answered: 1 week ago

Question

Have ground rules been established for the team?

Answered: 1 week ago

Question

a. How are members selected to join the team?

Answered: 1 week ago

Question

b. Will new members be welcomed?

Answered: 1 week ago