Computer Science, asked by drutiprabhaganguly, 3 months ago

WAP in c++ create a class name employee

Data member:
n[20] data type char[store name]
a[30] data type char[store address]
s data type int[store monthly salary]

Member function:
void accept([ accept employee name .address and salary]
void calc([calculate annual salay]
void check([if annual income more than 5 lakh then display "Taxpayer"
else "Not Taxpayer"]​

Answers

Answered by mramchandramishra198
0

Answer:

Enter first number: 15

Enter second number:20

Press 1. For SUM

Press 2. For PRODUCT

Press 3. For DIFFERENCE

Press 4. For QUOTIENT

Enter your choice (1-4): 2

The Product=300

Similar questions