You are on page 1of 2

OOP using C++

Program 1 .

Write a C++ Program using class conepts, To enter student information :

Student Name

Student Roll No.

Student Marks of five subject (out of 100)

Calculate Total, and Percentage. Compute grade according to percentage.

Display All information accordingly.

Program 2.

Write a C++ Program using class conepts, To enter employee information :

Employee Name

Empoyee id

Basic Salary-BS

Compute

TA (ta) – Travelling Allowance – 20% of basic salary

DA (da) – Dearness Allowance – 120% of basic salary

Gross Salary(gs)- Total of BS+TA+DA

Compute Deductions and Net Salary

Professional Tax (pftax) – Constant assign 400/-

Provident Fund-(pfund-12.5% of basic saary.

Advances-(advances)- Constant 1000/-

Total deductions – (totded)-pftax+pf+advances

Net Salary (ns)=pftax+pfund+advances

Display All information accordingly.


Program 3.

Write a C++ Program using class conepts, To enter Item information :

Item Name, Item code, Quantity, Rate and GST percent

Compute

Gross value i.e. quantity*rate, CGST,SGST, and net value

Display All information accordingly.

Note – 1.Perform the programs and save as appropriate heading

Student Name –

Roll No. – Batch -

Date of Experiment :- Marks -

And at the bottom Output as a comment

/*

Output of Program

*/

2. Perform and show it on the screen and marks will be updated accordingly.

You might also like