Professional Documents
Culture Documents
cin>>oll.na; cout<<"\n EMPLOYEE CODE"; cin>>oll.co; cout<<"\n EM PLOYEE DESIGNATION:"; int ch; cout<<"\n1.SUBSTAFF"; cout<<"\n2. CLERK"; cout<<"\n3.MANAGER"; cout<<"\n ENTER YOUR CHOICE:(1/2/3)"; cin>>ch; switch(ch) { case1: oll.sal=1000; oll.hra=100; oll.da=oll.sal*1.10; oll.t ax=2*(oll.sal)/100.0; strcpy(oll.des,"SUBSTAFF"); break; case2: oll.sal=200 0; oll.hra=200; oll.da=200; oll.tax=10*(oll.sal)/100.0; strcpy(oll.des,"CLERK"); break; case3: oll.sal=14000; oll.hra=400; oll.da=400; oll.tax=20*(oll.sal)/100.0; strcpy(oll.des,"MANA GER"); break; default:cout<<"\n INPUT IS INVALID"; break; } oll.g r=oll.sal+oll.hra+oll.da; oll.np=oll.gr-oll.tax; pay.write((char*)&oll,sizeof(oll)); cout<<"\n TO CONTINUE ADDING DATA(Y/N):"; cin>>c; }while((c=='Y')||(c=='y')); pay.close(); b reak;case'4': exit(0);}}while(choice!=4); closegraph();}</process></iomanip></dos></conio></iostream> </string></graphics></fstream>
Related:
C++ Project on Shuffle Game Shuffle Game #include #include #include #include #include #include #include ...
C++ Project on Address Book Address Book C++ Project on Library Management Library #inc...
#include #include #include #include #include #include #include ... #include #include #include #include #include #include #include //
C++ Project on Salary Management SALARY MANAGMENT ********************************************************** ... Comments (0)Trackbacks (0)Leave a commentTrackback 1. No comments yet.
1. No trackbacks yet. Name (required)E-Mail (will not be published) (required)Website Subscribe to comments feed Notify me of follow-up comments by email. Notify me of new posts by email. C++ Project on Report Card MakingC++ Project on Matrix Calculator
Project Work
Chemistry Project on Estimation of Content of Bone Ash C++ Project on School Management Biology Project on Ultraviolet Rays Mathematics Project on Pythagoras Theorem and its Extension Chemistry Project on Presence of Insecticides & Pesticides in Fruits & Vegetables
Archives
July 2010 March 2010 July 2009 May 2009 April 2009 March 2009
Tags
BankingC++ Project FileC++ Project File StructureCBSE Disaster Management ProjectCBSE Maths ProjectCBSE Maths Project on ProbabilityCBSE Maths Project TopicsCD CafeDisaster Management
Project
CBSE Maths Project Class IX CBSE Science Projects Class IX CBSE Social Science Projects CCE Projects
Top Contributors
1. 2. Abhyodaya siddhartha 3. Garima Bhardwaj 4. 5. Swathi