From 77509188372c770c146e5695c429b2657bb69e7f Mon Sep 17 00:00:00 2001 From: Stanislav Mykhailenko Date: Mon, 6 Mar 2023 14:22:05 +0200 Subject: [PATCH] Minor fixes --- Lesson_1/Task_2/Program.cs | 2 +- Lesson_1/Task_4/Program.cs | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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();