SlideShare a Scribd company logo
PROGRAMMING IN C – LAB 3.1 B.C.A III- SEM 
Assignment-1 
// pgm to print employee information 
#include <iostream .h> 
#include <conio.h> 
class EMPLOYEE 
{ 
private: long int employee_number; 
char employee_name[25]; 
float basic_salary; 
float DA; 
float HRA 
float net_sal; 
float gross_salary; 
float IT; 
public: void read( ); 
void Net_Sal(); 
void print(); 
}; /* end of class defination */ 
void EMPLOYEE:: read( ) 
{ 
cout<<"enter employee Number "<<endl; 
cin>>employee_number; 
cout<<"enter employee Name"<<endl; 
cin>>employee_name; 
cout<<"enter basic salary"<<endl; 
cin>>basic_salary; 
} 
void EMPLOYEE ::Net_Sal() 
{ HRA= basic_salary* 0.10; 
DA=basic_salary* 0.52; 
gross_salary=basic_salary+DA+HRA; 
IT=gross_salary * 0.30; 
net_sal=gross_salary-IT; 
} 
A.S.P College Of Commerce, BCA Programme, Bijapur.
PROGRAMMING IN C – LAB 3.1 B.C.A III- SEM 
void EMPLOYEE ::print() 
{ 
cout<<employee_number<<"tt"; 
cout<<employee_name<<"tt"; 
cout<<gross_salary<<"tt"; 
cout<<net_sal<<endl; 
} 
A.S.P College Of Commerce, BCA Programme, Bijapur. 
void main() 
{ 
EMPLOYEE emp[5]; 
int i,N; 
clrscr(); 
cout<<"enter how many employees you want to cover?"<<endl; 
cin>>N; 
cout<<"enter the salary information of"<<N<<"employees"<<endl; 
for(i=0;i<N;i++) 
{ 
cout<<"enter the information of employee:"<<i+1<<endl; 
emp[i].read(); 
} 
/* compute Net salary for each employee*/ 
for (i=0;i<N;i++) 
{ 
emp[i].Net_Sal(); 
} 
cout <<"the gross salary and net salary of :"<<N<<"employee..."<<endl; 
cout<<"--------------------------------------------------------"<<endl; 
cout<<"Emp No Name Gross salary Net salary"<<endl; 
cout<<"________________________________________"<<endl; 
for (i=0;i<N;i++) 
{ 
emp[i].print(); 
} 
cout<<"-------------------------------------------------------------"<<endl; 
}
PROGRAMMING IN C – LAB 3.1 B.C.A III- SEM 
A.S.P College Of Commerce, BCA Programme, Bijapur. 
Output-1: - 
enter how many employees you want to cover 
1 
enter the salary information of 1employees 
enter the information of employee:1 
enter employee Number 
16 
enter employee Name 
Rahul 
enter basic salary 
10000 
the gross salary and net salary of :1employee... 
--------------------------------------------------------------------- 
Emp No Name Gross salary Net salary 
______________________________________________ 
16 Rahul 15200 10640 
----------------------------------------------------------------------

More Related Content

What's hot

c++ Lecture 2
c++ Lecture 2c++ Lecture 2
c++ Lecture 2sajidpk92
 
C++ TUTORIAL 5
C++ TUTORIAL 5C++ TUTORIAL 5
C++ TUTORIAL 5
Farhan Ab Rahman
 
C code
C codeC code
C code
UET Taxila
 
Distributed work with Gearman
Distributed work with GearmanDistributed work with Gearman
Distributed work with GearmanDominik Jungowski
 
Write a program to perform translation.
 Write a program to perform translation. Write a program to perform translation.
Write a program to perform translation.
Shobhit Saxena
 
201801 CSE240 Lecture 11
201801 CSE240 Lecture 11201801 CSE240 Lecture 11
201801 CSE240 Lecture 11
Javier Gonzalez-Sanchez
 
اسلاید دوم جلسه پنجم کلاس پایتون برای هکرهای قانونی
اسلاید دوم جلسه پنجم کلاس پایتون برای هکرهای قانونیاسلاید دوم جلسه پنجم کلاس پایتون برای هکرهای قانونی
اسلاید دوم جلسه پنجم کلاس پایتون برای هکرهای قانونیMohammad Reza Kamalifard
 
Ooprc4 b
Ooprc4 bOoprc4 b
Ooprc4 b
Ankit Dubey
 
C Programing Solve Presentation -CSE
C Programing Solve Presentation -CSEC Programing Solve Presentation -CSE
C Programing Solve Presentation -CSE
salman ahmed
 
Write a program that calculate the no of prime no,even and odd no.
Write a program that calculate the no of prime no,even and odd no.Write a program that calculate the no of prime no,even and odd no.
Write a program that calculate the no of prime no,even and odd no.
university of Gujrat, pakistan
 
Array using recursion
Array using recursionArray using recursion
Array using recursion
Swarup Boro
 
Sol4
Sol4Sol4
Program to sort array using insertion sort
Program to sort array using insertion sortProgram to sort array using insertion sort
Program to sort array using insertion sort
Swarup Boro
 
C++20 features
C++20 features C++20 features
C++20 features
LogeekNightUkraine
 
Write a program to perform translation
Write a program to perform translationWrite a program to perform translation
Write a program to perform translation
Shobhit Saxena
 

What's hot (20)

c++ Lecture 2
c++ Lecture 2c++ Lecture 2
c++ Lecture 2
 
Cpp c++ 2
Cpp c++ 2Cpp c++ 2
Cpp c++ 2
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
C++ TUTORIAL 5
C++ TUTORIAL 5C++ TUTORIAL 5
C++ TUTORIAL 5
 
C code
C codeC code
C code
 
Distributed work with Gearman
Distributed work with GearmanDistributed work with Gearman
Distributed work with Gearman
 
Write a program to perform translation.
 Write a program to perform translation. Write a program to perform translation.
Write a program to perform translation.
 
201801 CSE240 Lecture 11
201801 CSE240 Lecture 11201801 CSE240 Lecture 11
201801 CSE240 Lecture 11
 
Worst
WorstWorst
Worst
 
اسلاید دوم جلسه پنجم کلاس پایتون برای هکرهای قانونی
اسلاید دوم جلسه پنجم کلاس پایتون برای هکرهای قانونیاسلاید دوم جلسه پنجم کلاس پایتون برای هکرهای قانونی
اسلاید دوم جلسه پنجم کلاس پایتون برای هکرهای قانونی
 
Ooprc4 b
Ooprc4 bOoprc4 b
Ooprc4 b
 
C Programing Solve Presentation -CSE
C Programing Solve Presentation -CSEC Programing Solve Presentation -CSE
C Programing Solve Presentation -CSE
 
Write a program that calculate the no of prime no,even and odd no.
Write a program that calculate the no of prime no,even and odd no.Write a program that calculate the no of prime no,even and odd no.
Write a program that calculate the no of prime no,even and odd no.
 
Ee
EeEe
Ee
 
Array using recursion
Array using recursionArray using recursion
Array using recursion
 
C++ programming example
C++ programming exampleC++ programming example
C++ programming example
 
Sol4
Sol4Sol4
Sol4
 
Program to sort array using insertion sort
Program to sort array using insertion sortProgram to sort array using insertion sort
Program to sort array using insertion sort
 
C++20 features
C++20 features C++20 features
C++20 features
 
Write a program to perform translation
Write a program to perform translationWrite a program to perform translation
Write a program to perform translation
 

Viewers also liked

Psycho research
Psycho researchPsycho research
Psycho research
dilystm
 
1bf128cacd90852b1800211a76eec464
1bf128cacd90852b1800211a76eec4641bf128cacd90852b1800211a76eec464
1bf128cacd90852b1800211a76eec464kamal0310
 
Thriller director
Thriller directorThriller director
Thriller director
dilystm
 
Thriller movie 2
Thriller movie 2Thriller movie 2
Thriller movie 2
dilystm
 
Doing business in kz _Linkage and Mind
Doing business in kz _Linkage and MindDoing business in kz _Linkage and Mind
Doing business in kz _Linkage and Mind
linkageandmind
 
Can quan-tri-rui-ro-tot-neu-muon-phat-trien-ngan-hang-ban-le
Can quan-tri-rui-ro-tot-neu-muon-phat-trien-ngan-hang-ban-leCan quan-tri-rui-ro-tot-neu-muon-phat-trien-ngan-hang-ban-le
Can quan-tri-rui-ro-tot-neu-muon-phat-trien-ngan-hang-ban-le
Trung Nguyễn
 
1bf128cacd90852b1800211a76eec464
1bf128cacd90852b1800211a76eec4641bf128cacd90852b1800211a76eec464
1bf128cacd90852b1800211a76eec464kamal0310
 
Future of Regional Infrastructure J Archer
Future of Regional Infrastructure J ArcherFuture of Regional Infrastructure J Archer
Future of Regional Infrastructure J Archer
Jack Archer
 
CEDA Future of the Wheatbelt Forum sept 2104 J Archer
CEDA Future of the Wheatbelt Forum sept 2104 J ArcherCEDA Future of the Wheatbelt Forum sept 2104 J Archer
CEDA Future of the Wheatbelt Forum sept 2104 J Archer
Jack Archer
 
Thriller films research
Thriller films researchThriller films research
Thriller films research
dilystm
 
Regional Economies - Local Strategies
Regional Economies - Local StrategiesRegional Economies - Local Strategies
Regional Economies - Local Strategies
Jack Archer
 
VIPR SOFTWARE-DEFINED STORAGE
VIPR SOFTWARE-DEFINED STORAGEVIPR SOFTWARE-DEFINED STORAGE
VIPR SOFTWARE-DEFINED STORAGE
EMC Nederland
 
Preparing for the future: the skilling challenge in regional australia Jack A...
Preparing for the future: the skilling challenge in regional australia Jack A...Preparing for the future: the skilling challenge in regional australia Jack A...
Preparing for the future: the skilling challenge in regional australia Jack A...
Jack Archer
 
EMC ScaleIO Overview
EMC ScaleIO OverviewEMC ScaleIO Overview
EMC ScaleIO Overview
walshe1
 
Designing Tracing Tools
Designing Tracing ToolsDesigning Tracing Tools
Designing Tracing Tools
Brendan Gregg
 

Viewers also liked (15)

Psycho research
Psycho researchPsycho research
Psycho research
 
1bf128cacd90852b1800211a76eec464
1bf128cacd90852b1800211a76eec4641bf128cacd90852b1800211a76eec464
1bf128cacd90852b1800211a76eec464
 
Thriller director
Thriller directorThriller director
Thriller director
 
Thriller movie 2
Thriller movie 2Thriller movie 2
Thriller movie 2
 
Doing business in kz _Linkage and Mind
Doing business in kz _Linkage and MindDoing business in kz _Linkage and Mind
Doing business in kz _Linkage and Mind
 
Can quan-tri-rui-ro-tot-neu-muon-phat-trien-ngan-hang-ban-le
Can quan-tri-rui-ro-tot-neu-muon-phat-trien-ngan-hang-ban-leCan quan-tri-rui-ro-tot-neu-muon-phat-trien-ngan-hang-ban-le
Can quan-tri-rui-ro-tot-neu-muon-phat-trien-ngan-hang-ban-le
 
1bf128cacd90852b1800211a76eec464
1bf128cacd90852b1800211a76eec4641bf128cacd90852b1800211a76eec464
1bf128cacd90852b1800211a76eec464
 
Future of Regional Infrastructure J Archer
Future of Regional Infrastructure J ArcherFuture of Regional Infrastructure J Archer
Future of Regional Infrastructure J Archer
 
CEDA Future of the Wheatbelt Forum sept 2104 J Archer
CEDA Future of the Wheatbelt Forum sept 2104 J ArcherCEDA Future of the Wheatbelt Forum sept 2104 J Archer
CEDA Future of the Wheatbelt Forum sept 2104 J Archer
 
Thriller films research
Thriller films researchThriller films research
Thriller films research
 
Regional Economies - Local Strategies
Regional Economies - Local StrategiesRegional Economies - Local Strategies
Regional Economies - Local Strategies
 
VIPR SOFTWARE-DEFINED STORAGE
VIPR SOFTWARE-DEFINED STORAGEVIPR SOFTWARE-DEFINED STORAGE
VIPR SOFTWARE-DEFINED STORAGE
 
Preparing for the future: the skilling challenge in regional australia Jack A...
Preparing for the future: the skilling challenge in regional australia Jack A...Preparing for the future: the skilling challenge in regional australia Jack A...
Preparing for the future: the skilling challenge in regional australia Jack A...
 
EMC ScaleIO Overview
EMC ScaleIO OverviewEMC ScaleIO Overview
EMC ScaleIO Overview
 
Designing Tracing Tools
Designing Tracing ToolsDesigning Tracing Tools
Designing Tracing Tools
 

Similar to Ass 1

54602399 c-examples-51-to-108-programe-ee01083101
54602399 c-examples-51-to-108-programe-ee0108310154602399 c-examples-51-to-108-programe-ee01083101
54602399 c-examples-51-to-108-programe-ee01083101
premrings
 
Please use the code below and make it operate as one program- Notating.pdf
Please use the code below and make it operate as one program- Notating.pdfPlease use the code below and make it operate as one program- Notating.pdf
Please use the code below and make it operate as one program- Notating.pdf
seoagam1
 
Pratik Bakane C++
Pratik Bakane C++Pratik Bakane C++
Pratik Bakane C++
pratikbakane
 
Tugas praktikukm pemrograman c++
Tugas praktikukm  pemrograman c++Tugas praktikukm  pemrograman c++
Tugas praktikukm pemrograman c++Dendi Riadi
 
Pads lab manual final
Pads lab manual finalPads lab manual final
Pads lab manual final
AhalyaR
 
I need help to modify my code according to the instructions- Modify th.pdf
I need help to modify my code according to the instructions- Modify th.pdfI need help to modify my code according to the instructions- Modify th.pdf
I need help to modify my code according to the instructions- Modify th.pdf
pnaran46
 
Write a C++ program with a function defined to give the person a .pdf
Write a C++ program with a function defined to give the person a .pdfWrite a C++ program with a function defined to give the person a .pdf
Write a C++ program with a function defined to give the person a .pdf
arihantgiftgallery
 
10 template code program
10 template code program10 template code program
10 template code program
Bint EL-maghrabi
 
Having issues with passing my values through different functions aft.pdf
Having issues with passing my values through different functions aft.pdfHaving issues with passing my values through different functions aft.pdf
Having issues with passing my values through different functions aft.pdf
rajkumarm401
 
C++ Programming - 2nd Study
C++ Programming - 2nd StudyC++ Programming - 2nd Study
C++ Programming - 2nd Study
Chris Ohk
 
computer project code ''payroll'' (based on datafile handling)
computer project code ''payroll'' (based on datafile handling)computer project code ''payroll'' (based on datafile handling)
computer project code ''payroll'' (based on datafile handling)
Nitish Yadav
 
The Effective Developer - Work Smarter, not Harder
The Effective Developer - Work Smarter, not HarderThe Effective Developer - Work Smarter, not Harder
The Effective Developer - Work Smarter, not Harder
Sven Peters
 
Computer Programming- Lecture 7
Computer Programming- Lecture 7Computer Programming- Lecture 7
Computer Programming- Lecture 7
Dr. Md. Shohel Sayeed
 
C++ Programs
C++ ProgramsC++ Programs
C++ Programs
NarayanlalMenariya
 
I got the codes written down below- Basically- I am trying to implemen.pdf
I got the codes written down below- Basically- I am trying to implemen.pdfI got the codes written down below- Basically- I am trying to implemen.pdf
I got the codes written down below- Basically- I am trying to implemen.pdf
shreeaadithyaacellso
 
Rewrite the printInfo() functions of the Employee and Department cla.pdf
Rewrite the printInfo() functions of the Employee and Department cla.pdfRewrite the printInfo() functions of the Employee and Department cla.pdf
Rewrite the printInfo() functions of the Employee and Department cla.pdf
alertshoeshingkimand
 
Computer Programming- Lecture 10
Computer Programming- Lecture 10Computer Programming- Lecture 10
Computer Programming- Lecture 10
Dr. Md. Shohel Sayeed
 

Similar to Ass 1 (20)

54602399 c-examples-51-to-108-programe-ee01083101
54602399 c-examples-51-to-108-programe-ee0108310154602399 c-examples-51-to-108-programe-ee01083101
54602399 c-examples-51-to-108-programe-ee01083101
 
C++ file
C++ fileC++ file
C++ file
 
C++ file
C++ fileC++ file
C++ file
 
Please use the code below and make it operate as one program- Notating.pdf
Please use the code below and make it operate as one program- Notating.pdfPlease use the code below and make it operate as one program- Notating.pdf
Please use the code below and make it operate as one program- Notating.pdf
 
Cpp c++ 1
Cpp c++ 1Cpp c++ 1
Cpp c++ 1
 
Pratik Bakane C++
Pratik Bakane C++Pratik Bakane C++
Pratik Bakane C++
 
Tugas praktikukm pemrograman c++
Tugas praktikukm  pemrograman c++Tugas praktikukm  pemrograman c++
Tugas praktikukm pemrograman c++
 
Pads lab manual final
Pads lab manual finalPads lab manual final
Pads lab manual final
 
I need help to modify my code according to the instructions- Modify th.pdf
I need help to modify my code according to the instructions- Modify th.pdfI need help to modify my code according to the instructions- Modify th.pdf
I need help to modify my code according to the instructions- Modify th.pdf
 
Write a C++ program with a function defined to give the person a .pdf
Write a C++ program with a function defined to give the person a .pdfWrite a C++ program with a function defined to give the person a .pdf
Write a C++ program with a function defined to give the person a .pdf
 
10 template code program
10 template code program10 template code program
10 template code program
 
Having issues with passing my values through different functions aft.pdf
Having issues with passing my values through different functions aft.pdfHaving issues with passing my values through different functions aft.pdf
Having issues with passing my values through different functions aft.pdf
 
C++ Programming - 2nd Study
C++ Programming - 2nd StudyC++ Programming - 2nd Study
C++ Programming - 2nd Study
 
computer project code ''payroll'' (based on datafile handling)
computer project code ''payroll'' (based on datafile handling)computer project code ''payroll'' (based on datafile handling)
computer project code ''payroll'' (based on datafile handling)
 
The Effective Developer - Work Smarter, not Harder
The Effective Developer - Work Smarter, not HarderThe Effective Developer - Work Smarter, not Harder
The Effective Developer - Work Smarter, not Harder
 
Computer Programming- Lecture 7
Computer Programming- Lecture 7Computer Programming- Lecture 7
Computer Programming- Lecture 7
 
C++ Programs
C++ ProgramsC++ Programs
C++ Programs
 
I got the codes written down below- Basically- I am trying to implemen.pdf
I got the codes written down below- Basically- I am trying to implemen.pdfI got the codes written down below- Basically- I am trying to implemen.pdf
I got the codes written down below- Basically- I am trying to implemen.pdf
 
Rewrite the printInfo() functions of the Employee and Department cla.pdf
Rewrite the printInfo() functions of the Employee and Department cla.pdfRewrite the printInfo() functions of the Employee and Department cla.pdf
Rewrite the printInfo() functions of the Employee and Department cla.pdf
 
Computer Programming- Lecture 10
Computer Programming- Lecture 10Computer Programming- Lecture 10
Computer Programming- Lecture 10
 

Recently uploaded

LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 

Recently uploaded (20)

LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 

Ass 1

  • 1. PROGRAMMING IN C – LAB 3.1 B.C.A III- SEM Assignment-1 // pgm to print employee information #include <iostream .h> #include <conio.h> class EMPLOYEE { private: long int employee_number; char employee_name[25]; float basic_salary; float DA; float HRA float net_sal; float gross_salary; float IT; public: void read( ); void Net_Sal(); void print(); }; /* end of class defination */ void EMPLOYEE:: read( ) { cout<<"enter employee Number "<<endl; cin>>employee_number; cout<<"enter employee Name"<<endl; cin>>employee_name; cout<<"enter basic salary"<<endl; cin>>basic_salary; } void EMPLOYEE ::Net_Sal() { HRA= basic_salary* 0.10; DA=basic_salary* 0.52; gross_salary=basic_salary+DA+HRA; IT=gross_salary * 0.30; net_sal=gross_salary-IT; } A.S.P College Of Commerce, BCA Programme, Bijapur.
  • 2. PROGRAMMING IN C – LAB 3.1 B.C.A III- SEM void EMPLOYEE ::print() { cout<<employee_number<<"tt"; cout<<employee_name<<"tt"; cout<<gross_salary<<"tt"; cout<<net_sal<<endl; } A.S.P College Of Commerce, BCA Programme, Bijapur. void main() { EMPLOYEE emp[5]; int i,N; clrscr(); cout<<"enter how many employees you want to cover?"<<endl; cin>>N; cout<<"enter the salary information of"<<N<<"employees"<<endl; for(i=0;i<N;i++) { cout<<"enter the information of employee:"<<i+1<<endl; emp[i].read(); } /* compute Net salary for each employee*/ for (i=0;i<N;i++) { emp[i].Net_Sal(); } cout <<"the gross salary and net salary of :"<<N<<"employee..."<<endl; cout<<"--------------------------------------------------------"<<endl; cout<<"Emp No Name Gross salary Net salary"<<endl; cout<<"________________________________________"<<endl; for (i=0;i<N;i++) { emp[i].print(); } cout<<"-------------------------------------------------------------"<<endl; }
  • 3. PROGRAMMING IN C – LAB 3.1 B.C.A III- SEM A.S.P College Of Commerce, BCA Programme, Bijapur. Output-1: - enter how many employees you want to cover 1 enter the salary information of 1employees enter the information of employee:1 enter employee Number 16 enter employee Name Rahul enter basic salary 10000 the gross salary and net salary of :1employee... --------------------------------------------------------------------- Emp No Name Gross salary Net salary ______________________________________________ 16 Rahul 15200 10640 ----------------------------------------------------------------------