Accountancy, asked by jackseb95, 9 months ago

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

Answered by janakdubey100
0

Answer:

I think you it thise answer so plz

chale your book proply ok bye

Answered by thallabhargavi007
1

Answer:

#include<iostream>

using namespace std;

int main()

{

 int x,y,w,profit;

 //w=number of copies sold;

 //x=cost per copy;

 //y=cost of agency spends per copy;

 std::cin>>w >>x >>y;

 profit=(w*x)-(y*w)-100;

 std::cout<<profit;

}

Explanation:

Similar questions