Minor fixes

This commit is contained in:
Stanislav Mykhailenko 2023-03-06 14:22:05 +02:00
parent 804920c171
commit 7750918837
GPG key ID: 1E95E66A9C9D6A36
2 changed files with 7 additions and 1 deletions

View file

@ -14,5 +14,5 @@ if (int.TryParse(Console.ReadLine(), out number))
}
else
{
Console.WriteLine("Invalid data entereed.");
Console.WriteLine("Invalid data entered.");
}

View file

@ -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();