Linda is starting a new cosmetic and 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. She 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 she gets approximately 10% net profit on the merchandise cost. Note that after marking up the price of an item she would like to put the item on 15% sale.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Question
100%

c++ 

 

Linda is starting a new cosmetic and 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.

She 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 she gets approximately 10% net profit on the merchandise cost.

Note that after marking up the price of an item she would like to put the item on 15% sale.

O Programming Exercise 3-8
* MindTap - Cengage Learning
b Computer Science Homework He x
A ng.cengage.com/static/nb/ui/evo/index.html?deploymentld=5781122319546088747421251303&elSBN=9781337274715&id=1306226480&snapshotld=2618406&
* CENGAGE MINDTAP
Q Search this course
Mohammad v
Programming Exercise 3-8
Tasks
main.cpp
+
>- Terminal
+
1 #include<iostream>
main.cpp:14:70: warning: variab
le 'listcost’ set but not used
[-Wunused-but-set-variable]
tycost,markedupprice,listcost;
Correct markup percentage
2
output
3
A-Z
0.00
out of
10.00
4 7/using standard namespace
5
O out of 2 checks passed. Review
6 using namespace std;
sandbox $ ./a.out
7
Please enter the total cost of
the results below for more details.
8 int main()7/ declaring the main function
merchandise:
540000
Checks
10 {
Please enter the total salary o
11
f the employees:
Test Case • Incomplete
12 // declaring the float type variable
80000
Correct markup percentage output test
13
Please enter the yearly store r
1
14 float totalcost,totalsalary,yearlyrent, electricitycost,
ent:
50000
markedupprice,listcost;
Input
15
Please enter the estimated cost
16 float markeduppercentage;
of electricity:
4000
17
540000
The merchandise should be marke
18 cout<<"Please enter the total cost of merchandise: \n";
//take value from user
d up at 34.8148%sandbox $ |
Run checks
A Submit O%
21996.1.210529-15..iso
Show all
4.5/4.5 GB, 4 secs left
9:29 PM
N
11/18/2021
Transcribed Image Text:O Programming Exercise 3-8 * MindTap - Cengage Learning b Computer Science Homework He x A ng.cengage.com/static/nb/ui/evo/index.html?deploymentld=5781122319546088747421251303&elSBN=9781337274715&id=1306226480&snapshotld=2618406& * CENGAGE MINDTAP Q Search this course Mohammad v Programming Exercise 3-8 Tasks main.cpp + >- Terminal + 1 #include<iostream> main.cpp:14:70: warning: variab le 'listcost’ set but not used [-Wunused-but-set-variable] tycost,markedupprice,listcost; Correct markup percentage 2 output 3 A-Z 0.00 out of 10.00 4 7/using standard namespace 5 O out of 2 checks passed. Review 6 using namespace std; sandbox $ ./a.out 7 Please enter the total cost of the results below for more details. 8 int main()7/ declaring the main function merchandise: 540000 Checks 10 { Please enter the total salary o 11 f the employees: Test Case • Incomplete 12 // declaring the float type variable 80000 Correct markup percentage output test 13 Please enter the yearly store r 1 14 float totalcost,totalsalary,yearlyrent, electricitycost, ent: 50000 markedupprice,listcost; Input 15 Please enter the estimated cost 16 float markeduppercentage; of electricity: 4000 17 540000 The merchandise should be marke 18 cout<<"Please enter the total cost of merchandise: \n"; //take value from user d up at 34.8148%sandbox $ | Run checks A Submit O% 21996.1.210529-15..iso Show all 4.5/4.5 GB, 4 secs left 9:29 PM N 11/18/2021
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Intangible cost
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education