Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Homework3
- {
- static void Main(string[] args)
- {
- string name = Console.ReadLine();
- int age = int.Parse(Console.ReadLine());
- int id = int.Parse(Console.ReadLine());
- double salary = double.Parse(Console.ReadLine());
- Console.WriteLine($"Name: {name}");
- Console.WriteLine($"Age: {age}");
- Console.WriteLine($"Employee ID: {id:d8}");
- Console.WriteLine($"Salary: {salary:f2}");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement