Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Employee_Data
- {
- class Program
- {
- static void Main(string[] args)
- {
- var name = Console.ReadLine();
- var age = int.Parse(Console.ReadLine());
- var id = int.Parse(Console.ReadLine());
- var salary = double.Parse(Console.ReadLine());
- Console.WriteLine($"Name: {name}");
- Console.WriteLine($"Age: {age}");
- Console.WriteLine($"Employee ID: {id:D8}");
- Console.WriteLine($"Salary: {salary:F2}");
- }
- }
- }
Add Comment
Please, Sign In to add comment