VelizarAvramov

08. Employee Data

Nov 28th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.88 KB | None | 0 0
  1. using System;
  2. using System.Numerics;
  3.  
  4. namespace _08._Employee_Data
  5. {
  6.     class Program
  7.     {
  8.         static void Main(string[] args)
  9.         {
  10.             string firstName = Console.ReadLine();
  11.             string lastName = Console.ReadLine();
  12.             int age = int.Parse(Console.ReadLine());
  13.             char gender = char.Parse(Console.ReadLine());
  14.             ulong personalIDNumber = ulong.Parse(Console.ReadLine());
  15.             int uniqueEmployeeNumber = int.Parse(Console.ReadLine());
  16.  
  17.             Console.WriteLine($"First name: {firstName}");
  18.             Console.WriteLine($"Last name: {lastName}");
  19.             Console.WriteLine($"Age: {age}");
  20.             Console.WriteLine($"Gender: {gender}");
  21.             Console.WriteLine($"Personal ID: {personalIDNumber}");
  22.             Console.WriteLine($"Unique Employee number: {uniqueEmployeeNumber}");
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment