-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
24 lines (22 loc) · 697 Bytes
/
Program.cs
File metadata and controls
24 lines (22 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
namespace MerchantsGuideToGalaxy
{
public class MainClass
{
public static void Main()
{
Console.Write("Enter no of lines : ");
int noOfInformationLines = int.Parse(Console.ReadLine());
string[] informationLines = new string[noOfInformationLines];
for (int i = 0; i < noOfInformationLines; i++)
{
informationLines[i] = Console.ReadLine();
}
ProcessingScript service = new ProcessingScript();
foreach(var response in service.PlayScript(informationLines))
{
Console.WriteLine(response);
}
}
}
}