week5_lab - Sheet1 Page 1 Payroll\Main.cpp #include...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Sheet1 Page 1 Payroll\Main.cpp #include "stdafx.h" #include <iostream> #include <string> #include <iomanip> #include <cctype> #include <ctime> using std::ios using namespace std #include <iomanip> using std::setprecision using std::setiosflags #include <cstdlib> #include "employ.h" #include "boss.h" #include "commis.h" #include "piece.h" #include "hourly.h" #include "Seasonal.h" int determineMonth () void setData (int) int deptNum, x char firstName[32], lastName[32] int birthDay, birthMonth, birthYear int hireDay, hireMonth, hireYear char streetAddress[50] , streetCity [50], streetState[50] , streetZip [ 50] double weeklySalary, comm, hrWage, hrWrkd, perPiece int qty char run int main ( ) { // set output formatting cout << setiosflags ( ios :: fixed | ::showpoint) cout << setprecision ( 2 ) do{bool testDept=false { cout <<"Select a department: "<<endl <<endl cout <<"Department 1-Boss"<<endl cout <<"Department 2-Commission"<<endl cout <<"Department 3-Piece"<<endl cout <<"Department 4-Hourly"<<endl cout <<"Department 5-Seasonal"<<endl cout <<"Department Number: " cin >> deptNum cin.ignore(100,'\n'} switch (deptNum) { Sheet1...
View Full Document

This note was uploaded on 01/30/2011 for the course BUS 247 taught by Professor Long during the Winter '10 term at DeVry Long Beach.

Page1 / 10

week5_lab - Sheet1 Page 1 Payroll\Main.cpp #include...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online