53
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
//create structure instance
8
Employee e = new Employee();
9
//call the methods
10
e.ReadData();
11
e.Calculate();
12
e.DisplayData();
13
Console.ReadLine();
14
}
15
}
16
17
struct Employee
18
{
19
private int EmployeeID;
20
private string EmployeeName;
21
private double Salary;
22
private double Tax;
23
private double NetSalary;
24
Cached Result