SHOW:
|
|
- or go back to the newest paste.
1 | using System; | |
2 | ||
3 | - | namespace Exam1_3 |
3 | + | namespace ConsoleInputOutput |
4 | { | |
5 | - | public static class Exam1_3 |
5 | + | public static class CompanyInformation |
6 | { | |
7 | public static void Main() | |
8 | { | |
9 | string companyName = Console.ReadLine(); | |
10 | string companyAddress = Console.ReadLine(); | |
11 | string companyNumber = Console.ReadLine(); | |
12 | string companyFax = Console.ReadLine(); | |
13 | string companySite = Console.ReadLine(); | |
14 | string companyManager = Console.ReadLine(); | |
15 | string managerName = Console.ReadLine(); | |
16 | string managerLastName = Console.ReadLine(); | |
17 | int managerAge = int.Parse(Console.ReadLine()); | |
18 | string managerNumber = Console.ReadLine(); | |
19 | Console.WriteLine("Company Name: {0}", companyName); | |
20 | Console.WriteLine("Company Address: {0}", companyAddress); | |
21 | Console.WriteLine("Company Number: {0}", companyNumber); | |
22 | Console.WriteLine("Company Fax: {0}", companyFax); | |
23 | Console.WriteLine("Company Website: {0}", companySite); | |
24 | Console.WriteLine("Company Manager: {0}", companyManager); | |
25 | Console.WriteLine("Manager : {0} {1}", managerName, managerLastName); | |
26 | Console.WriteLine("Manager Number: {0}", managerNumber); | |
27 | Console.WriteLine("Manager Age: {0}", managerAge); | |
28 | } | |
29 | } | |
30 | } |