Computer Science, asked by ashharfiroz, 1 month ago

Write a program to input the name of an employee. Calculate and display the gross salary and net salary when: basic =40000 da= 25000 hra= 6000 pf= 4800 gross= basic + da +hra net pay= gross – pf


only program no mathematically solved answer or definition required​

Answers

Answered by anish391531
1

basic= 40000

da= 25000

hra= 6000

pf= 4800

gross = basic + da + hra = gross — pf

let, gross will be 'x'

40000+25000+6000 = x—4800

71000 = x—4800

x= 71000+4800

x = 75800

gross= 75800

Please folow me and mark me brainliest

Answered by ananyaanuj2006
0

class Employee. { public string name; public int salary; ...

public Employee(string name, int salary, int joiningDate) { this.name = name; ...

public void GetEmployeeData() { { ...

public void DisplayEmployee() { Console.WriteLine("The name of employee is: "+ name); ...

for(int i = 0; i < 10; i++) { e[i].DisplayEmployee

Similar questions