Minor fixes
This commit is contained in:
parent
804920c171
commit
7750918837
2 changed files with 7 additions and 1 deletions
|
@ -14,5 +14,5 @@ if (int.TryParse(Console.ReadLine(), out number))
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Console.WriteLine("Invalid data entereed.");
|
Console.WriteLine("Invalid data entered.");
|
||||||
}
|
}
|
||||||
|
|
|
@ -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: ");
|
Console.Write("Enter string 1: ");
|
||||||
|
|
||||||
string? string1 = Console.ReadLine();
|
string? string1 = Console.ReadLine();
|
||||||
|
|
Reference in a new issue