Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 8 additions & 23 deletions calculator_main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,12 @@ static void Main(string[] args)

else if (endOptions == "about")
{
Console.WriteLine("Current Version: Calculator v1.6.1 Alpha");
}

else if (endOptions == "extra msg")
{
Console.WriteLine("You can re-calculate for 5 times at this version.");
Console.WriteLine("Current Version: Calculator v1.6.2 Candidate");
}

else if (endOptions == "updates")
{
Console.WriteLine("Please see 'new_features_and_updates.txt' for updates");
}

else if (endOptions == "operations")
Expand Down Expand Up @@ -302,11 +298,12 @@ static void Main(string[] args)

else if (SecondEndOptions == "about")
{
Console.WriteLine("Current Version: Calculator v1.6.1 Alpha");
Console.WriteLine("Current Version: Calculator v1.6.2 Candidate");
}

else if (SecondEndOptions == "updates")
{
Console.WriteLine("Please see 'new_features_and_updates.txt' for updates");
}

else if (SecondEndOptions == "operations")
Expand Down Expand Up @@ -455,11 +452,12 @@ static void Main(string[] args)

else if (ThirdEndOptions == "about")
{
Console.WriteLine("Current Version: Calculator v1.6.1 Alpha");
Console.WriteLine("Current Version: Calculator v1.6.2 Candidate");
}

else if (ThirdEndOptions == "updates")
{
Console.WriteLine("Please see 'new_features_and_updates.txt' for updates");
}

else if (ThirdEndOptions == "operations")
Expand Down Expand Up @@ -608,11 +606,12 @@ static void Main(string[] args)

else if (FourthEndOptions == "about")
{
Console.WriteLine("Current Version: Calculator v1.6.1 Alpha");
Console.WriteLine("Current Version: Calculator v1.6.2 Candidate");
}

else if (FourthEndOptions == "updates")
{
Console.WriteLine("Please see 'new_features_and_updates.txt' for updates");
}

else if (FourthEndOptions == "operations")
Expand Down Expand Up @@ -760,10 +759,6 @@ static void Main(string[] args)
Console.ReadKey();
}

else if (FourthEndOptions == "extra msg")
{
Console.WriteLine("You can re-calculate for 5 times at this version.");
}

// If the user types 'close', the app will also close
else if (FourthEndOptions == "close")
Expand All @@ -778,11 +773,6 @@ static void Main(string[] args)
Console.ReadKey();
}

else if (ThirdEndOptions == "extra msg")
{
Console.WriteLine("You can re-calculate for 5 times at this version.");
}

// If the user types 'close', the app will also close
else if (ThirdEndOptions == "close")
{
Expand All @@ -796,11 +786,6 @@ static void Main(string[] args)
Console.ReadKey();
}

else if (SecondEndOptions == "extra msg")
{
Console.WriteLine("You can re-calculate for 5 times at this version.");
}

// If the user types 'close', the app will also close
else if (SecondEndOptions == "close")
{
Expand Down