diff --git a/Lesson_1/Task_2/Program.cs b/Lesson_1/Task_2/Program.cs index 9dc46ec..e19c775 100644 --- a/Lesson_1/Task_2/Program.cs +++ b/Lesson_1/Task_2/Program.cs @@ -14,5 +14,5 @@ if (int.TryParse(Console.ReadLine(), out number)) } else { - Console.WriteLine("Invalid data entereed."); + Console.WriteLine("Invalid data entered."); } diff --git a/Lesson_1/Task_4/Program.cs b/Lesson_1/Task_4/Program.cs index d1e3086..41ae027 100644 --- a/Lesson_1/Task_4/Program.cs +++ b/Lesson_1/Task_4/Program.cs @@ -1,3 +1,9 @@ +/* +* Lesson 1 Task 4: get two strings and concatenate them if the first one is longer, split the second one with the first character of the first string if the second one is longer, otherwise do nothing +* Author: Stanislav Mykhailenko +* License: Unlicense +*/ + Console.Write("Enter string 1: "); string? string1 = Console.ReadLine();