Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Globalization;
- namespace EmployeeData
- {
- class Program
- {
- static void Main(string[] args)
- {
- var employeeName = Console.ReadLine();
- var employeeAge = Console.ReadLine();
- int employeeID = int.Parse(Console.ReadLine());
- Double empleyeeSalary = Double.Parse(Console.ReadLine());
- Console.WriteLine("Name: {0}", employeeName);
- Console.WriteLine("Age: {0}", employeeAge);
- Console.WriteLine("Employee ID: {0}", employeeID.ToString("D8"));
- Console.WriteLine("Salary: {0}", empleyeeSalary.ToString("F2", CultureInfo.InvariantCulture));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement