Each Sunday, a newspaper agency sells w copies of a special edition newspaper for Rs.x per copy. The cost to the agency of each newspaper is Rs.y. The agency pays a fixed cost for storage, delivery and so on of Rs.100 per Sunday. The newspaper agency wants to calculate the profit which it obtains only on Sundays. Can you please help them out by writing a program to compute the profit if w, x, and y are given.
Answers
Given : a newspaper agency sells w copies of a special edition newspaper for Rs.x per copy. The cost to the agency of each newspaper is Rs.y.
To find : Profit obtain on sundays
Solution :
Inputs
w // copies of news paper sold on sundays
x // selling price of each copy on sundays
y // cost price of each copy on sundays
// fixed cost = Rs 100 on sunday
output
p // profit on sundays
// profit = number of copies sold ( selling price per copy - cost price per copy ) - Fixed cost
p = w(x - y) - 100
print p
p = w(x - y) - 100
Learn more:
Q. By considering the Particulous as mentioned:-fixed cost-1.5 Lakh ...
https://brainly.in/question/13282320
even point. ... amitnrw; Genius ... Revenue = Fixed Cost + variable Cost.
The linear profit equation for a company that sells customized ...
https://brainly.in/question/14110630
Answer:
Step-by-step explanation:
#include<iostream>
using namespace std;
int main()
{
int w,x,y,p=0;
std::cin>>w>>x>>y;
p=(w*x)-(w*y)-100;
std::cout<<p;
}