- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

In this problem, we are given the three variables that denote total monthly expenditure (E), selling price (S) of the product, overhead maintenance (M) on each product. Our task is to create a *program to
find the Break Even Point in C++*.

**Break-Even Point** is the total number of products that are required to be sold so that there should not be any loss or profit for the seller.

**Problem Description** − We need to find the total no. of products to be sold to make sure there is no loss.

**Let’s take an example to understand the problem,**

E = 2400, S = 150, M = 30

20

Profit on each product is S - M = 150 - 30 = 120

Total number of products to be sold,

N = E/(S-M) = 2400 / 120 = 20.

To make sure that there is no loss. The seller needs to sell to n products such that the profit on each product is equal to the total expenditure.

So, the number of product sold = Expenditure / (selling price - maintenance overhead)

**Program to illustrate the working of our solution,**

#include <iostream> #include <math.h> using namespace std; int main() { int E = 2400, S = 150, M = 30; cout<<"No. of products to be sold is "<< ceil(E/ (S - M)); return 0; }

No. of products to be sold is 20

- Related Questions & Answers
- Program to find the mid-point of a line in C++
- Program to find GCD of floating point numbers in C++
- Python program to find the Decreasing point in a List
- C++ program to find first collision point of two series
- C++ program to find the best fit rectangle that covers a given point
- Program to find the highest altitude of a point in Python
- C++ Program to find sum of even factors of a number?
- To find sum of even factors of a number in C++ Program?
- Find the Nth Even Length Palindrome using C++
- 8085 program to find the sum of series of even numbers
- Find a partition point in array in C++
- Find the count of maximum contiguous Even numbers in C++
- Find a Fixed Point (Value equal to index) in a given array in C++ Program
- C Program to Multiply two Floating Point Numbers?
- Find normal at a given point on the curve in C++

Advertisements