Advertisement
kirililchev3

Employee Data

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