Advertisement
Guest User

Untitled

a guest
May 23rd, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.95 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace EmployeeData
  8. {
  9.     class EmployeeData
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             string firstName = Console.ReadLine();
  14.             string lastName = Console.ReadLine();
  15.             byte age = byte.Parse(Console.ReadLine());
  16.             char gender = char.Parse(Console.ReadLine());
  17.             long personnalID = long.Parse(Console.ReadLine());
  18.             uint uniqueEmployeeNum = uint.Parse(Console.ReadLine());
  19.  
  20.             Console.WriteLine($"First name: {firstName}");
  21.             Console.WriteLine($"Last name: { lastName}");
  22.             Console.WriteLine($"Age: {age}");
  23.             Console.WriteLine($"Gender: {gender}");
  24.             Console.WriteLine($"Personal ID: {personnalID}");
  25.             Console.WriteLine($"Unique Employee number: {uniqueEmployeeNum}");
  26.  
  27.         }
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement