SHARE
TWEET

Untitled

a guest May 23rd, 2016 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top