public static void Main()
Console.Write(" employee Name: ");
name = Console.ReadLine();
Console.Write( " yearly Salary: ");
yearlySalary = Convert.ToDouble(Console.ReadLine());
Console.Write( " months Worked: ");
totalMonthWorked = Convert.ToInt32( Console.ReadLine() );
monthlySalary = yearlySalary /12;
years = totalMonthWorked /12;
months = totalMonthWorked % 12;
Console.WriteLine( "{0} worked {1} year(s) and {2} month(s) for {3:C} per month.", name, years, months, monthlySalary );