From 147d30a809cb10d00ab2e86e0a396e0a2f0c4aee Mon Sep 17 00:00:00 2001 From: teolord <74703619+teolord@users.noreply.github.com> Date: Sun, 31 Oct 2021 16:07:42 +0100 Subject: [PATCH] =?UTF-8?q?Delete=20VYPO=C4=8CTEN=C3=8D=20=C4=8CASU.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VYPOČTENÍ ČASU.cs | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 VYPOČTENÍ ČASU.cs diff --git a/VYPOČTENÍ ČASU.cs b/VYPOČTENÍ ČASU.cs deleted file mode 100644 index 88cea6c..0000000 --- a/VYPOČTENÍ ČASU.cs +++ /dev/null @@ -1,22 +0,0 @@ -//by TeolorD -using System; - -namespace ConsoleApp -{ - class Program - { - static void Main(string[] args) - { - Console.Write("Zadej minuty: "); - - int time = Int32.Parse(Console.ReadLine()); - - int leftminutes = time % 60; - - int hours = (time - leftminutes) / 60; - - Console.WriteLine($"Počet hodin: {hours}"); - Console.WriteLine($"Počet minut: {leftminutes}"); - } - } -} \ No newline at end of file