Answer to Question #259652 in C++ for Venomous

Question #259652

develop a new system to help farmers manage their poultry farm. The system must be tailored to the farmers and be very easy to use.






document all the necessary requirements.





write a program that will fulfil all the requirements of a poultry farming business.





Below are some ideas to help you with the requirements and developing of the software.






The program should help the farmer with:







 Inventory control







o The birds







o Feed







o Chemicals







o Equipment







(Provide options for the farmer to choose the correct inventory module)







 Payroll







o Help farmer calculate the pay for its employees with provident fund deductions






(10% employee and 8% employer contribution)







o Pay should be calculated on individual basis (with all necessary data)







o Employees are paid every week







 Calculate the profit and loss after identifying at least 8 general expenses that occur







every month.







o Consider revenue from:







 Sale of chicken

1
Expert's answer
2021-11-01T18:50:51-0400
#include <iostream>


using namespace std;


int main()
{
    int c;
    cout<<"\nChoose an option:\n1. Inventory control\n2. The birds\n3. Feed\n4. Chemicals\n5. Equipment";
    cin>>c;
    
    int c2;
    cout<<"\nChoose an Inventory module: \n1. Payroll";
    cin>>c2;
    
    double salary;
    cout<<"\nEnter groce salary for an employee: ";
    cin>>salary;
    
    double finalSalary=salary-(0.1*salary+0.08*salary);
    cout<<"\nThe employees salary = "<<finalSalary;
    
    int initAmt;
    int finalAmt;
    cout<<"\nEnter total amount used: ";
    cin>>initAmt;
    cout<<"\nEnter total amount received: ";
    cin>>finalAmt;
    int diff=finalAmt- initAmt;
    if (diff<0){
        cout<<"\nLoss = "<<(-1*diff);
    }
    else{
        cout<<"\nProfit = "<<(diff);
    }


    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS