Thursday, August 15, 2019

ABC Payroll System in C++

A very simple payroll system that I wrote a long time ago in C++.

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 in 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 jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com



Program Listing


#include <iostream>
#include <iomanip>


using namespace std;

main() {

 int age[2];
double salary[2],total_salary=0;
char name[15];

  cout << "\n\t ===  ABC Payroll System Version 1.0 === ";
  cout <<"\n\n";
  for (int a=0; a<3; a++) {
      cout << "\n";
      cout << "Enter Employees Name   : ";
      cin >> name[a];
      cout << "Enter Employees Age    : ";
      cin >> age[a];
      cout << "Enter Employees Salary : ";
      cin >> salary[a];
  }
  cout << "\n\n";
  cout << "\t ==== SUMMARY OF REPORT ==== ";
  cout << "\n";
cout << fixed;
  for (int a=0; a<3; a++) {
      cout << "\n Name   : " << name[a] << setw(8)
        << "Age : " <<age[a] << setw(12)
          << "Salary : " <<setprecision(2)
          << salary[a];
    total_salary+= salary[a];
  }
   cout << "\n\n";
   cout << "\n Total Salary => $" <<
       total_salary;
      cout << "\n\n";
      //system("PAUSE");

}






No comments:

Post a Comment