Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 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 задача_3
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. string name = Console.ReadLine();
  14. int age = int.Parse(Console.ReadLine());
  15. int employeeID = int.Parse(Console.ReadLine());
  16. double salary = double.Parse(Console.ReadLine());
  17.  
  18. Console.WriteLine($"Name: {name});
  19. Console.WriteLine($"Age: {age});
  20. Console.WriteLine($"Employee ID: {employeeID:D8});
  21. Console.WriteLine($"Salary: {salary:F2} );
  22. }
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement