Find the percentage change in the area of a Rectangle | CPP implementation to find the percentage ; Function to calculate percentage change in area of rectangle ; Driver code
#include <bits/stdc++.h> NEW_LINE using namespace std ; int calculate_change ( int length , int breadth ) { int change = 0 ; change = length + breadth + ( ( length * breadth ) / 100 ) ; return change ; } int main ( ) { int cL = 20 ; int cB = -10 ; int cA = calculate_change ( cL , cB ) ; printf ( " % d " , cA ) ; return 0 ; }