Question: PLEASE CODE IN C + + THANK YOU :) 9 . 1 Write a program that displays the retail price of an item. The program

PLEASE CODE IN C++ THANK YOU :) 9.1
Write a program that displays the retail price of an item. The program asks the user for the item's wholesale price and the number of days it takes to sell the item. The program then calculates the
item's retail price based on the following criteria:
If the number of days it takes to sell the item is more than 7 days, the markup percentage is 100 percent. Ex.: the retail price of $5.00 item that sales in 9 days is $10.00.
If the number of days it takes to sell the item is 7 days or less, the markup percentage is 70 percent.
Use functions to do the following:
display description to user
calculate retail price
display output
Use named constants for the threshold (7) and the percentage increases (70 and 100).
Include a loop that lets the user repeat the program until the user says she or he is done.
9.2
Write a program that converts feet and inches to centimeters.
The program asks the user to value in feet and inches and it converts them into centimeters.
Use the following functions:
display description to user
one or more for calculation
output
Use a constant for conversion factors.
Include a loop that lets the user repeat the program until the user says she or he is done.
1 inch =2.54 centimeters
1 foot =12 inches
Before submitting, check for following:
-5 lines of comments
-Code lineup
-Indentation
-meaningful names for variables
-named constants for values that do not change
-display amounts in currency format
-description to user
-add comments
-write functions declarations above and their definitions below the main function
-add comments for functions declarations
PLEASE CODE IN C + + THANK YOU :) 9 . 1 Write a

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 Programming Questions!