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 :)
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 days, the markup percentage is percent. Ex: the retail price of $ item that sales in days is $
If the number of days it takes to sell the item is days or less, the markup percentage is percent.
Use functions to do the following:
display description to user
calculate retail price
display output
Use named constants for the threshold and the percentage increases and
Include a loop that lets the user repeat the program until the user says she or he is done.
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.
inch centimeters
foot inches
Before submitting, check for following:
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
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
