From 82cfab8a93bbc8cd544e367a8d505e8d23cdc2e9 Mon Sep 17 00:00:00 2001 From: teolord <74703619+teolord@users.noreply.github.com> Date: Sun, 31 Oct 2021 16:49:42 +0100 Subject: [PATCH] Delete SO.1 {TEOLORD} --- 1.B/HM.1 VYPOČTENÍ ČASU/SO.1 {TEOLORD} | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 1.B/HM.1 VYPOČTENÍ ČASU/SO.1 {TEOLORD} diff --git a/1.B/HM.1 VYPOČTENÍ ČASU/SO.1 {TEOLORD} b/1.B/HM.1 VYPOČTENÍ ČASU/SO.1 {TEOLORD} deleted file mode 100644 index 74ac9a0..0000000 --- a/1.B/HM.1 VYPOČTENÍ ČASU/SO.1 {TEOLORD} +++ /dev/null @@ -1,23 +0,0 @@ -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}"); - - - } - } -}