A program to calculate the sales value of the last three months for each branch. For each affiliate, three sales will be read.
If 0 is entered it will stop processing
For each affiliate, three sales will be read.
For this, the following data will be informed, via keyboard for each branch: branch(whole);
Month value 1 (actual);
Month value 2 (actual);
Month value 3 (actual);
total branch (real)
totalCompany
At the end, the data read and the calculated values will be seen like :
Branch:
Month value 1:
Month value 2:
Month value 3:
Total value of the branch:
Restaurant Total:
Submitted by Sree Lekshmi P (Sree99)
Download packets of source code on Coders Packet
Comments