mirror of
https://github.com/danbulant/databaze-ukolu-pro-pana-Malyho
synced 2026-05-24 12:45:57 +00:00
Delete 1.K/HM.1 directory
This commit is contained in:
parent
6f2475eb7c
commit
5c00799a94
1 changed files with 0 additions and 38 deletions
|
|
@ -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}.");
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue