An Employee’s Payroll System that I wrote using a C++ programming language to solve the salary of the employees in the company.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following,, and

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is and

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.

Program Listing

// payroll.cpp
// Mr. Jake Rodriguez Pomperada,MAED-IT, MIT
// Dev C++ 
// ,
// Bacolod City, Negros Occidental Philippines
// December 1, 2020    Tuesday

#include <iostream>
#include <string>
#include <iomanip>

using namespace std;

struct employee {
    string name, department;
    int age;
    char gender;
    float days, rate;

main() {

    float solve=0.00;
    string sex;
    employee user;

     cout << "\t\tEmployee's Payroll System in C++";
     cout << "\n\n";
     cout << "\t Created By: Mr. Jake R. Pomperada,MAED-IT, MIT";
     cout << "\n\n";
     cout << "Enter the Name of the Employee    : ";
     cout << "Enter the Name of Department      : ";
     cout << "Enter the Gender of the Employee  : ";
     user.gender = getchar();
     cout << "Enter the Number of Days Worked   :  ";
     cin >> user.days;
     cout << "Enter the Daily Rate              :  ";
     cin >> user.rate;

     solve = (user.days * user.rate);
     if (user.gender == 'M' || user.gender == 'm')
          sex = "Male";
     else if (user.gender == 'F' || user.gender == 'f')
          sex = "Female";
    cout << fixed;
    cout << setprecision(2);
     cout << "\n\n";
     cout << "\t ===== GENERATED REPORT =====";
     cout << "\n\n";
     cout << "\nEmployee Name : " <<;
     cout << "\nDeparment     : " << user.department;
     cout << "\nGender        : " << sex;
     cout << "\nSalary        : $" << solve;
     cout << "\n\n";

Leave a Reply

Your email address will not be published.