Delete VYPOČTENÍ ČASU.cs

This commit is contained in:
teolord 2021-10-31 16:38:40 +01:00 committed by GitHub
parent 94d961cc43
commit a6387b8ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}");
}
}
}