Program to find the Break Even Point | C ++ program to find the break - even point . ; Function to calculate Break Even Point ; Calculating number of articles to be sold ; Main Function
#include <iostream> NEW_LINE #include <math.h> NEW_LINE using namespace std ; int breakEvenPoint ( int exp , int S , int M ) { float earn = S - M ; int res = ceil ( exp / earn ) ; return res ; } int main ( ) { int exp = 3550 , S = 90 , M = 65 ; cout << breakEvenPoint ( exp , S , M ) ; return 0 ; }