From 4e5c4aa6255e045118c4ad25488f167f8d144e15 Mon Sep 17 00:00:00 2001 From: teolord <74703619+teolord@users.noreply.github.com> Date: Sun, 31 Oct 2021 16:58:13 +0100 Subject: [PATCH] =?UTF-8?q?Delete=201.K/HW.1=20P=C5=98IV=C3=8DT=C3=81N?= =?UTF-8?q?=C3=8D=20directory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SO.1 {ZTADEAS} PŘIVÍTÁNÍ.cs | 38 ------------------- 1 file changed, 38 deletions(-) delete mode 100644 1.K/HW.1 PŘIVÍTÁNÍ/SO.1 {ZTADEAS} PŘIVÍTÁNÍ.cs diff --git a/1.K/HW.1 PŘIVÍTÁNÍ/SO.1 {ZTADEAS} PŘIVÍTÁNÍ.cs b/1.K/HW.1 PŘIVÍTÁNÍ/SO.1 {ZTADEAS} PŘIVÍTÁNÍ.cs deleted file mode 100644 index 0be4f3d..0000000 --- a/1.K/HW.1 PŘIVÍTÁNÍ/SO.1 {ZTADEAS} PŘIVÍTÁNÍ.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; - -namespace PVAukol -{ - class Program - { - static void Main(string[] args) - { - - int cas = DateTime.Now.Hour; - - Console.Write("Vaše jméno: "); - string jmeno = Console.ReadLine(); - string doba; - - if (cas < 12) - { - doba = "rána"; - } - - else if(cas >= 12 && cas < 18) - { - doba = "odpoledne"; - } - - - else - { - doba = "večera"; - } - - Console.WriteLine($"Dobrého {doba}, ti přeji {jmeno}."); - - - - } - } -}