Answered step by step
Verified Expert Solution
Question
1 Approved Answer
THERE IS CODE FOR reference. #include #include using namespace std; const double TAX = 0.075; int main() { double price; double taxAmount; double total; cout
THERE IS CODE FOR reference.
#include#include using namespace std; const double TAX = 0.075; int main() { double price; double taxAmount; double total; cout > price; cout
Please show step by step thanks!
Description A friend of yours is starting a new clothing business and would like to make a net profit of approximately 10% after paying all the expenses, which include merchandise cost, store rent, employees' salary, and electricity cost for the store. Your friend would like to know how much the merchandise should be marked up so that after paying all the expenses at the end of the year your friend gets approximately 10% net profit on the merchandise cost. Note that after marking up the price of an item your friend would like to put the item on 15% sale. Write a program that prompts to enter the total cost of the merchandise, the salary of the employees (including your friend's salary), the yearly rent, and the estimated electric cost. The program then outputs how much the merchandise should be marked up so that your friend gets the desired proft. Specifications Comment all your variables and parts of code that perform calculations, input, and output Give your variables meaningful names All variables in this program will be of double or float type Use constants in your program rather than use literals All decimals need to formatted to two decimal places and all the output must be nicely aligned, refer to the sample output Sample Output Jimis-MacBook-Pro : Asst03 VaskoDaGamer$ g++ Assignment03.cpp Jimis -MacBook -Pro:Asst03 VaskoDaGamer$ ./a.out Enter cost for merhandise 23876.89 Enter salary: 23123.88 Enter yearly rent: 14567.23 Enter eletric cost: 12000.45 73568.45 Merchandise markup 30.81% Merchandise marked up cost....s 31233.73 26548.67 Merchandise after discount....$
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started