(* Content-type: application/vnd.wolfram.mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 13.0' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       158,          7]
NotebookDataLength[     46475,       1401]
NotebookOptionsPosition[     42664,       1334]
NotebookOutlinePosition[     43072,       1350]
CellTagsIndexPosition[     43029,       1347]
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{

Cell[CellGroupData[{
Cell["Podmienky a cykly", "Title",
 CellChangeTimes->{{3.8620451053130608`*^9, 3.862045107656841*^9}},
 TextAlignment->Center,ExpressionUUID->"da107016-7676-4edc-b126-9b7249645db1"],

Cell["\<\
Tento notebook ma obozn\[AAcute]mi\[THacek] pou\[ZHacek]\[IAcute]vate\:013ea \
s vytv\[AAcute]ran\[IAcute]m podmienok a cyklov.\
\>", "Text",
 CellChangeTimes->{{3.8620451293288975`*^9, 3.862045156656928*^9}},
 TextAlignment->Center,ExpressionUUID->"f7989c15-658f-4b00-a04b-d6a632c8fc0d"],

Cell[BoxData[
 StyleBox[
  RowBox[{
  "V", " ", "tomto", " ", "notebooku", " ", "sa", " ", 
   "pou\[ZHacek]\[IAcute]vate\:013e", " ", 
   RowBox[{"nau\[CHacek]\[IAcute]", ":"}]}],
  FontWeight->"Plain"]], "Input",ExpressionUUID->"53c192c9-110f-49b4-aacd-\
c5bd083cd64e"],

Cell[BoxData[
 StyleBox[
  RowBox[{
  "\[Bullet]", " ", "Vytv\[AAcute]ra\[THacek]", " ", 
   "z\[AAcute]kladn\[EAcute]", " ", "podmienky", " ", "If", " ", "a", " ", 
   RowBox[{"Which", ".", "\n", "\[Bullet]"}], " ", "Vytv\[AAcute]ra\[THacek]",
    " ", "cykly", " ", "For", " ", "a", " ", 
   RowBox[{"While", "."}]}],
  FontWeight->"Bold"]], "Input",
 CellChangeTimes->{{3.8620648913902583`*^9, 
  3.8620649161902704`*^9}},ExpressionUUID->"ae4b1bce-e1bb-41aa-b018-\
6e86eb1b4129"],

Cell[BoxData[
 RowBox[{"\[IndentingNewLine]", 
  StyleBox[
   RowBox[{
    RowBox[{
     StyleBox["Autor",
      FontFamily->"Consolas",
      FontWeight->"Bold"], 
     StyleBox[" ",
      FontFamily->"Consolas",
      FontWeight->"Bold"], 
     RowBox[{
      StyleBox["notebooku",
       FontFamily->"Consolas",
       FontWeight->"Bold"], 
      StyleBox[":",
       FontFamily->"Consolas",
       FontWeight->"Bold"], 
      StyleBox[" ",
       FontWeight->"Bold"], 
      StyleBox[
       RowBox[{"Matej", " ", "Baco", " ", "SWI"}],
       FontWeight->"Plain"]}]}], 
    StyleBox[" ",
     FontWeight->"Plain"], 
    StyleBox[",",
     FontWeight->"Plain"], 
    StyleBox[" ",
     FontWeight->"Plain"], 
    StyleBox["2022",
     FontWeight->"Plain"]}],
   FontSize->12]}]], "Input",
 CellChangeTimes->{{3.8620649218342824`*^9, 3.8620649228307304`*^9}},
 TextAlignment->Right,ExpressionUUID->"a6e31289-123c-4c8b-aa51-a01da7065a04"],

Cell[" ", "Text",
 Editable->False,
 Selectable->False,
 CellFrame->{{0, 0}, {0, 3}},
 ShowCellBracket->False,
 CellMargins->{{0, 0}, {1, 1}},
 CellElementSpacings->{"CellMinHeight"->1},
 CellFrameMargins->0,
 CellFrameColor->GrayLevel[0.75],
 CellSize->{
  Inherited, 5},ExpressionUUID->"42997759-9268-4a26-a203-65d74d01fa13"],

Cell[TextData[StyleBox["Tvorenie podmienok:",
 FontWeight->"Bold"]], "Text",
 CellChangeTimes->{{3.862045289201358*^9, 3.862045294456478*^9}},
 TextAlignment->Center,ExpressionUUID->"3de22d3c-ed07-4c40-8758-714f2307f1fd"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  RowBox[{
   StyleBox["(*",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   RowBox[{
    StyleBox["Podmienky",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["vo",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["Wolfram",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["Language",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["funguj\[UAcute]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["rovnako",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["ako",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["v",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["ostatn\[YAcute]ch",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["programovac\[IAcute]ch",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[
     RowBox[{"jazykoch", ".", " ", "Podmienky"}],
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["sa",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["vytv\[AAcute]raj\[UAcute]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["pomocou",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["funkci\[IAcute]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    "\!\(\*StyleBox[\"\\\"\",FontColor->RGBColor[1, 0.5, 0]]\)\!\(\*StyleBox[\
\"If\",FontColor->RGBColor[1, 0, \
0]]\)\!\(\*StyleBox[\"\\\"\",FontColor->RGBColor[1, 0.5, 0]]\)", 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["a",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    RowBox[{
    "\!\(\*StyleBox[\"\\\"\",FontColor->RGBColor[1, 0.5, 0]]\)\!\(\*StyleBox[\
\"Which\",FontColor->RGBColor[1, 0, \
0]]\)\!\(\*StyleBox[\"\\\"\",FontColor->RGBColor[1, 0.5, 0]]\)", 
     StyleBox[".",
      FontColor->RGBColor[1, 0.5, 0]]}]}], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox["*)",
    FontColor->RGBColor[1, 0.5, 0]]}], 
  StyleBox["\[IndentingNewLine]",
   FontColor->RGBColor[1, 0.5, 0]], 
  StyleBox[" ",
   FontColor->RGBColor[1, 0.5, 0]], 
  StyleBox["\[IndentingNewLine]",
   FontColor->RGBColor[1, 0.5, 0]], 
  RowBox[{
   StyleBox["(*",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   RowBox[{
    RowBox[{
     StyleBox["Pokia\:013e",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["chce",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["pou\[ZHacek]\[IAcute]vate\:013e",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["vytvori\[THacek]",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["podmienku",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["pomocou",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["  ",
      FontColor->RGBColor[1, 0.5, 0]], 
     "\!\(\*StyleBox[\"\\\"\",FontColor->RGBColor[1, 0.5, \
0]]\)\!\(\*StyleBox[\"If\",FontColor->RGBColor[1, 0, 0]]\)\!\(\*StyleBox[\"\\\
\"\",FontColor->RGBColor[1, 0, 0]]\)", 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["mus\[IAcute]",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["nastavi\[THacek]",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["pre",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["\[NHacek]u",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[
      RowBox[{"pravidl\[AAcute]", ".", " ", "V"}],
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["z\[AAcute]klade",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["pou\[ZHacek]\[IAcute]vate\:013e",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["nastavuje",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["obsah",
      FontColor->RGBColor[1, 0, 1]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0, 1]], 
     StyleBox["podmienky",
      FontColor->RGBColor[1, 0, 1]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["a",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["to",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["\[CHacek]o",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["sa",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["stane",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["po",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["vyhodnoten\[IAcute]",
      FontColor->RGBColor[0, 0, 1]], 
     StyleBox[" ",
      FontColor->RGBColor[0, 0, 1]], 
     StyleBox["podmienky",
      FontColor->RGBColor[0, 0, 1]]}], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["-",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[
     RowBox[{
     "v", " ", "na\[SHacek]om", " ", "pr\[IAcute]pade", " ", "sa", " ", 
      "vyp\[IAcute]\[SHacek]e", " ", "\[CHacek]i", " ", "je", " ", "A", " ", 
      RowBox[{"men\[SHacek]ie", "/", "v\[ADoubleDot]\[CHacek]\[SHacek]ie"}], 
      " ", "ako", " ", "B"}],
     FontColor->RGBColor[0, 0, 1]]}], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox["*)",
    FontColor->RGBColor[1, 0.5, 0]]}], "\n", 
  RowBox[{
   RowBox[{
    RowBox[{"A", " ", "=", "  ", "5"}], ";"}], "\[IndentingNewLine]", 
   RowBox[{
    RowBox[{"B", " ", "=", "  ", "4"}], ";"}], 
   StyleBox["\[IndentingNewLine]",
    FontColor->RGBColor[1, 0, 0]], "\[IndentingNewLine]", 
   RowBox[{
    StyleBox["If",
     FontColor->RGBColor[1, 0, 0]], "[", 
    RowBox[{
     StyleBox[
      RowBox[{"A", " ", ">", " ", "B"}],
      FontColor->RGBColor[1, 0, 1]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0, 1]], ",", " ", 
     "\"\<\!\(\*StyleBox[\"A\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\
\" \",FontColor->RGBColor[0, 0, \
1]]\)\!\(\*StyleBox[\"je\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\" \
\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\"v\[ADoubleDot]\[CHacek]\
\[SHacek]ie\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\" \
\",FontColor->RGBColor[0, 0, \
1]]\)\!\(\*StyleBox[\"ako\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\" \
\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\"B\",FontColor->RGBColor[0, \
0, 1]]\)\>\"", " ", ",", "  ", 
     "\"\<\!\(\*StyleBox[\"A\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\
\" \",FontColor->RGBColor[0, 0, \
1]]\)\!\(\*StyleBox[\"nie\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\" \
\",FontColor->RGBColor[0, 0, \
1]]\)\!\(\*StyleBox[\"je\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\" \
\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\"v\[ADoubleDot]\[CHacek]\
\[SHacek]ie\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\" \
\",FontColor->RGBColor[0, 0, \
1]]\)\!\(\*StyleBox[\"ako\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\" \
\",FontColor->RGBColor[0, 0, 1]]\)\!\(\*StyleBox[\"B\",FontColor->RGBColor[0, \
0, 1]]\)\>\""}], "]"}]}]}]], "Input",
 CellChangeTimes->{{3.8620453011892166`*^9, 3.8620455237141275`*^9}, {
  3.8620457108687687`*^9, 3.8620457898433027`*^9}, {3.862045885068741*^9, 
  3.8620459168517866`*^9}, {3.862046051901354*^9, 3.862046099084527*^9}, {
  3.8620481748298435`*^9, 3.8620481849168653`*^9}, {3.8620482400298753`*^9, 
  3.8620482723170576`*^9}},
 Background->GrayLevel[0.85],
 CellLabel->"In[63]:=",ExpressionUUID->"e0118d0c-3b62-4bf6-abe6-bc8cb0275b0f"],

Cell[BoxData["\<\"\\!\\(\\*StyleBox[\\\"A\\\",FontColor->RGBColor[0, 0, \
1]]\\)\\!\\(\\*StyleBox[\\\" \\\",FontColor->RGBColor[0, 0, \
1]]\\)\\!\\(\\*StyleBox[\\\"je\\\",FontColor->RGBColor[0, 0, \
1]]\\)\\!\\(\\*StyleBox[\\\" \\\",FontColor->RGBColor[0, 0, \
1]]\\)\\!\\(\\*StyleBox[\\\"v\[ADoubleDot]\[CHacek]\[SHacek]ie\\\",FontColor->\
RGBColor[0, 0, 1]]\\)\\!\\(\\*StyleBox[\\\" \\\",FontColor->RGBColor[0, 0, \
1]]\\)\\!\\(\\*StyleBox[\\\"ako\\\",FontColor->RGBColor[0, 0, \
1]]\\)\\!\\(\\*StyleBox[\\\" \\\",FontColor->RGBColor[0, 0, \
1]]\\)\\!\\(\\*StyleBox[\\\"B\\\",FontColor->RGBColor[0, 0, 1]]\\)\"\>"], \
"Output",
 CellChangeTimes->{{3.8620456539386234`*^9, 3.862045673186797*^9}, 
   3.8620457342394085`*^9, 3.86204579483936*^9, {3.862046052673472*^9, 
   3.8620461005460167`*^9}, 3.862048275152489*^9},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->"Out[65]=",ExpressionUUID->"148d79ca-61c6-463d-a250-84a5604e04f0"]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  RowBox[{
   StyleBox["(*",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   RowBox[{
    StyleBox["Pokia\:013e",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["chce",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["pou\[ZHacek]\[IAcute]vate\:013e",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["vytvori\[THacek]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["podmienku",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["pomocou",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["  ",
     FontColor->RGBColor[1, 0.5, 0]], 
    RowBox[{
     StyleBox["\"\<\>",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["Which",
      FontColor->RGBColor[1, 0, 0]], 
     StyleBox["\"\<\>",
      FontColor->RGBColor[1, 0, 0]]}], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["mus\[IAcute]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["nastavi\[THacek]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["pre",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["\[NHacek]u",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[
     RowBox[{"pravidl\[AAcute]", ".", " ", "V"}],
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["z\[AAcute]klade",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["mus\[IAcute]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["pou\[ZHacek]\[IAcute]vate\:013e",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["nastavi\[THacek]",
     FontColor->RGBColor[1, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0, 1]], 
    StyleBox["\[SHacek]pecifick\[EAcute]",
     FontColor->RGBColor[1, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0, 1]], 
    StyleBox["testy",
     FontColor->RGBColor[1, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["a",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["to",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["\[CHacek]o",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["sa",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["stane",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["pokia\:013e",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["bol",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["dan\[YAcute]",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["test",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["vyhodnoten\[YAcute]",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["ako",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["True",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["v",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["na\[SHacek]om",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["pr\[IAcute]pade",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["sa",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["vyp\[IAcute]\[SHacek]e",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["hodnota",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["premennej",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox["X",
     FontColor->RGBColor[0, 0, 1]]}], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox["*)",
    FontColor->RGBColor[1, 0.5, 0]]}], 
  StyleBox["\[IndentingNewLine]",
   FontColor->RGBColor[1, 0.5, 0]], 
  RowBox[{
   StyleBox[
    RowBox[{
     RowBox[{"X", " ", "=", " ", "5"}], ";"}],
    FontColor->GrayLevel[0]], 
   StyleBox["\[IndentingNewLine]",
    FontColor->RGBColor[1, 0.5, 0]], 
   RowBox[{
    StyleBox["Which",
     FontColor->GrayLevel[0]], 
    StyleBox["[",
     FontColor->GrayLevel[0]], 
    RowBox[{
     StyleBox[
      RowBox[{"X", " ", "==", " ", "1"}],
      FontColor->RGBColor[1, 0, 1]], 
     StyleBox[",",
      FontColor->GrayLevel[0]], 
     StyleBox[" ",
      FontColor->GrayLevel[0]], 
     StyleBox["\"\<Hodnota X je 1\>\"",
      FontColor->RGBColor[0, 0, 1]], 
     StyleBox[" ",
      FontColor->GrayLevel[0]], 
     StyleBox[",",
      FontColor->GrayLevel[0]], 
     StyleBox[" ",
      FontColor->GrayLevel[0]], 
     StyleBox[
      RowBox[{"X", " ", "==", " ", "2"}],
      FontColor->RGBColor[1, 0, 1]], 
     StyleBox[" ",
      FontColor->GrayLevel[0]], 
     StyleBox[",",
      FontColor->GrayLevel[0]], 
     StyleBox[" ",
      FontColor->GrayLevel[0]], 
     StyleBox["\"\<Hodnota X je 2\>\"",
      FontColor->RGBColor[0, 0, 1]], 
     StyleBox[",",
      FontColor->GrayLevel[0]], 
     StyleBox[" ",
      FontColor->GrayLevel[0]], 
     StyleBox[
      RowBox[{"X", " ", "==", " ", "3"}],
      FontColor->RGBColor[1, 0, 1]], 
     StyleBox[",",
      FontColor->GrayLevel[0]], 
     StyleBox[" ",
      FontColor->GrayLevel[0]], 
     StyleBox["\"\<Hodnota X je 3\>\"",
      FontColor->RGBColor[0, 0, 1]], 
     StyleBox[",",
      FontColor->GrayLevel[0]], 
     StyleBox[" ",
      FontColor->GrayLevel[0]], 
     StyleBox[
      RowBox[{"X", " ", "==", " ", "4"}],
      FontColor->RGBColor[1, 0, 1]], 
     StyleBox[",",
      FontColor->GrayLevel[0]], 
     StyleBox[" ",
      FontColor->GrayLevel[0]], 
     StyleBox["\"\<Hodnota X je 4\>\"",
      FontColor->RGBColor[0, 0, 1]], 
     StyleBox[" ",
      FontColor->GrayLevel[0]], 
     StyleBox[",",
      FontColor->GrayLevel[0]], 
     StyleBox[" ",
      FontColor->GrayLevel[0]], 
     StyleBox[
      RowBox[{"X", " ", "==", " ", "5"}],
      FontColor->RGBColor[1, 0, 1]], 
     StyleBox[",",
      FontColor->GrayLevel[0]], 
     StyleBox[" ",
      FontColor->GrayLevel[0]], 
     StyleBox["\"\<Hodnota X je 5\>\"",
      FontColor->RGBColor[0, 0, 1]]}], 
    StyleBox["]",
     FontColor->GrayLevel[0]]}]}]}]], "Input",
 CellChangeTimes->{{3.862048285236027*^9, 3.862048286523883*^9}, {
   3.862048414867982*^9, 3.862048487132086*^9}, {3.86204851888405*^9, 
   3.8620485409558353`*^9}, 3.862048608276883*^9, {3.86205005222806*^9, 
   3.8620500948221054`*^9}, {3.8620502123500767`*^9, 3.8620502701176047`*^9}, 
   3.862167045743679*^9},
 Background->GrayLevel[0.85],
 CellLabel->"In[21]:=",ExpressionUUID->"a9525b36-14f5-4451-b42c-bd61703af560"],

Cell[BoxData["\<\"Hodnota X je 5\"\>"], "Output",
 CellChangeTimes->{
  3.8620502733962564`*^9, {3.862050454092925*^9, 3.862050523762844*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->"Out[22]=",ExpressionUUID->"877b63da-f7c0-4792-940a-610cb33495ac"]
}, Open  ]],

Cell[" ", "Text",
 Editable->False,
 Selectable->False,
 CellFrame->{{0, 0}, {0, 3}},
 ShowCellBracket->False,
 CellMargins->{{0, 0}, {1, 1}},
 CellElementSpacings->{"CellMinHeight"->1},
 CellFrameMargins->0,
 CellFrameColor->GrayLevel[0.75],
 CellSize->{
  Inherited, 5},ExpressionUUID->"2c9cebcd-5320-4a05-8118-227b4b21d160"],

Cell[TextData[StyleBox["Tvorenie cyklov:",
 FontWeight->"Bold"]], "Text",
 CellChangeTimes->{{3.862050572644068*^9, 3.8620505763243837`*^9}},
 TextAlignment->Center,ExpressionUUID->"4d3b30db-b860-438e-9f34-c2e510962c73"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  StyleBox[
   RowBox[{"(*", " ", 
    RowBox[{
    "Cykly", " ", "slu\[ZHacek]ia", " ", "na", " ", "opakovanie", " ", 
     "ur\[CHacek]it\[EAcute]j", " ", "\[CHacek]asti", " ", "k\[OAcute]du", 
     " ", "ktor\[UAcute]", " ", "pou\[ZHacek]\[IAcute]vate\:013e", " ", 
     "potrebuje", " ", "zopakova\[THacek]", " ", "nieko\:013ekokr\[AAcute]t", 
     " ", "za", " ", "sebou", " ", "bez", " ", "toho", " ", "aby", " ", 
     "p\[IAcute]sal", " ", "rovnak\[YAcute]", " ", "k\[OAcute]d", " ", 
     "viackr\[AAcute]t", " ", "za", " ", "sebou"}], "*)"}],
   FontColor->RGBColor[1, 0.5, 0]], 
  StyleBox["\[IndentingNewLine]",
   FontColor->RGBColor[1, 0.5, 0]], 
  StyleBox["\[IndentingNewLine]",
   FontColor->RGBColor[1, 0.5, 0]], 
  RowBox[{
   StyleBox["(*",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   RowBox[{
    RowBox[{
     RowBox[{
      StyleBox["Cyklus",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["FOR",
       FontColor->RGBColor[1, 0, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0, 0]], 
      StyleBox["sa",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["pou\[ZHacek]\[IAcute]va",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["ke\[DHacek]",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["pozn\[AAcute]me",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["presn\[YAcute]",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["po\[CHacek]et",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["opakovan\[IAcute]",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["k\[OAcute]du",
       FontColor->RGBColor[1, 0.5, 0]]}], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["-",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     RowBox[{
      StyleBox["pou\[ZHacek]\[IAcute]vate\:013e",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["nastavuje",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["premennu",
       FontColor->RGBColor[1, 0, 1]]}]}], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[",",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["podmienku",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[",",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["pr\[IAcute]kaz",
     FontColor->RGBColor[0.6, 0.4, 0.2]]}], 
   StyleBox["*)",
    FontColor->RGBColor[1, 0.5, 0]]}], 
  StyleBox["\[IndentingNewLine]",
   FontColor->RGBColor[1, 0.5, 0]], 
  StyleBox["\[IndentingNewLine]",
   FontColor->RGBColor[1, 0.5, 0]], 
  RowBox[{
   StyleBox["(*",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   RowBox[{
    StyleBox["Cyklus",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["FOR",
     FontColor->RGBColor[1, 0, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0, 0]], 
    StyleBox["ktor\[YAcute]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["5",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["x",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["za",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["sebou",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["vyp\[IAcute]\[SHacek]e",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["slovo",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["Ahoj",
     FontColor->RGBColor[1, 0.5, 0]]}], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox["*)",
    FontColor->RGBColor[1, 0.5, 0]]}], "\n", 
  RowBox[{"For", "[", 
   RowBox[{
    StyleBox[
     RowBox[{"i", " ", "=", " ", "1"}],
     FontColor->RGBColor[1, 0, 1]], ",", "  ", 
    StyleBox[
     RowBox[{"i", "  ", "<=", " ", "5"}],
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], ",", " ", 
    StyleBox[
     RowBox[{"i", "++"}],
     FontColor->RGBColor[0.6, 0.4, 0.2]], 
    StyleBox[" ",
     FontColor->RGBColor[0.6, 0.4, 0.2]], ",", " ", 
    RowBox[{
     StyleBox["Print",
      FontColor->RGBColor[0.6, 0.4, 0.2]], 
     StyleBox["[",
      FontColor->RGBColor[0.6, 0.4, 0.2]], 
     StyleBox[
      RowBox[{"i", ".", " ", "\"\< Ahoj \>\""}],
      FontColor->RGBColor[0.6, 0.4, 0.2]], 
     StyleBox["]",
      FontColor->GrayLevel[0]]}]}], "]"}]}]], "Input",
 CellChangeTimes->{{3.862050654084465*^9, 3.8620508195731287`*^9}, {
   3.862050864685341*^9, 3.8620509568296404`*^9}, 3.8620510289962416`*^9, {
   3.862051131381715*^9, 3.8620512101977563`*^9}, {3.8620513941979957`*^9, 
   3.8620513995265164`*^9}},
 Background->GrayLevel[0.85],
 CellLabel->"In[1]:=",ExpressionUUID->"7d386815-282e-40cc-b7ad-85411cc30da1"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"1", ".", "\<\" Ahoj \"\>"}]], "Print",
 CellChangeTimes->{3.862051406667515*^9},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[1]:=",ExpressionUUID->"926c92fe-83ed-46af-9918-9b53d858dc04"],

Cell[BoxData[
 RowBox[{"2", ".", "\<\" Ahoj \"\>"}]], "Print",
 CellChangeTimes->{3.8620514066765165`*^9},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[1]:=",ExpressionUUID->"39c30c39-6c38-47ef-a1bd-66f9cf9d0918"],

Cell[BoxData[
 RowBox[{"3", ".", "\<\" Ahoj \"\>"}]], "Print",
 CellChangeTimes->{3.8620514066835084`*^9},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[1]:=",ExpressionUUID->"cf9aa7ec-13cc-4bce-a76b-1107da353f61"],

Cell[BoxData[
 RowBox[{"4", ".", "\<\" Ahoj \"\>"}]], "Print",
 CellChangeTimes->{3.862051406687519*^9},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[1]:=",ExpressionUUID->"4394c434-09d7-4899-a6f0-c5324b1ab8db"],

Cell[BoxData[
 RowBox[{"5", ".", "\<\" Ahoj \"\>"}]], "Print",
 CellChangeTimes->{3.86205140669051*^9},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[1]:=",ExpressionUUID->"4700accc-fc60-4107-b098-42e1c24b37bd"]
}, Open  ]]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  RowBox[{
   StyleBox["(*",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   RowBox[{
    StyleBox["Cyklus",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["FOR",
     FontColor->RGBColor[1, 0, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0, 0]], 
    StyleBox["ktor\[YAcute]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["odpo\[CHacek]\[IAcute]ta",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["od",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["\[CHacek]\[IAcute]sla",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["5",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["po",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["0",
     FontColor->RGBColor[1, 0.5, 0]]}], 
   StyleBox[
    StyleBox[
     RowBox[{"*", ")"}]],
    FontColor->RGBColor[1, 0.5, 0]]}], "\n", 
  RowBox[{"For", "[", 
   RowBox[{
    StyleBox[
     RowBox[{"i", " ", "=", " ", "5"}],
     FontColor->RGBColor[1, 0, 1]], ",", "  ", 
    StyleBox[
     RowBox[{"i", "  ", ">=", " ", "0"}],
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[0, 0, 1]], ",", " ", 
    StyleBox[
     RowBox[{"i", "--"}],
     FontColor->RGBColor[0.6, 0.4, 0.2]], 
    StyleBox[" ",
     FontColor->RGBColor[0.6, 0.4, 0.2]], ",", " ", 
    RowBox[{
     StyleBox["Print",
      FontColor->RGBColor[0.6, 0.4, 0.2]], 
     StyleBox["[",
      FontColor->RGBColor[0.6, 0.4, 0.2]], 
     StyleBox["i",
      FontColor->RGBColor[0.6, 0.4, 0.2]], 
     StyleBox["]",
      FontColor->GrayLevel[0]]}]}], "]"}]}]], "Input",
 CellChangeTimes->{{3.862051421085911*^9, 3.862051463806554*^9}, {
  3.8620515236303797`*^9, 3.862051579325452*^9}},
 Background->GrayLevel[0.85],
 CellLabel->"In[12]:=",ExpressionUUID->"845f7a1d-3abc-43e4-94ef-9a4b930bb4d3"],

Cell[CellGroupData[{

Cell[BoxData["5"], "Print",
 CellChangeTimes->{{3.862051533381855*^9, 3.862051581328709*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[12]:=",ExpressionUUID->"9610391b-5ecf-4420-baf3-150864af08b8"],

Cell[BoxData["4"], "Print",
 CellChangeTimes->{{3.862051533381855*^9, 3.8620515813327007`*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[12]:=",ExpressionUUID->"b56a9192-3b63-48db-9ead-60e48c17674a"],

Cell[BoxData["3"], "Print",
 CellChangeTimes->{{3.862051533381855*^9, 3.8620515813397017`*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[12]:=",ExpressionUUID->"f0cbbf64-2640-46c8-bd99-f6a55649e617"],

Cell[BoxData["2"], "Print",
 CellChangeTimes->{{3.862051533381855*^9, 3.8620515813427124`*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[12]:=",ExpressionUUID->"7023484f-4529-418d-adb2-e4934895e5c3"],

Cell[BoxData["1"], "Print",
 CellChangeTimes->{{3.862051533381855*^9, 3.862051581345703*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[12]:=",ExpressionUUID->"0fb59051-e6c9-46a8-a10d-23b17f244a43"],

Cell[BoxData["0"], "Print",
 CellChangeTimes->{{3.862051533381855*^9, 3.8620515813477135`*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[12]:=",ExpressionUUID->"3050771c-8055-4204-800d-5acd5e3328ef"]
}, Open  ]]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  RowBox[{
   StyleBox["(*",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   RowBox[{
    RowBox[{
     RowBox[{
      StyleBox["Cyklus",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["WHILE",
       FontColor->RGBColor[1, 0, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0, 0]], 
      StyleBox["sa",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["pou\[ZHacek]\[IAcute]va",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["ke\[DHacek]",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["nepozn\[AAcute]me",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["presn\[YAcute]",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["po\[CHacek]et",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["opakovan\[IAcute]",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[
       RowBox[{"k\[OAcute]du", ".", " ", "K\[OAcute]d"}],
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["sa",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["opakuje",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["dovtedy",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["k\[YAcute]m",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["je",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["splnen\[AAcute]",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["podmienka",
       FontColor->RGBColor[1, 0.5, 0]]}], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox["-",
      FontColor->RGBColor[1, 0.5, 0]], 
     StyleBox[" ",
      FontColor->RGBColor[1, 0.5, 0]], 
     RowBox[{
      StyleBox["pou\[ZHacek]\[IAcute]vate\:013e",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["nastavuje",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox[" ",
       FontColor->RGBColor[1, 0.5, 0]], 
      StyleBox["premennu",
       FontColor->RGBColor[1, 0, 1]]}]}], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[",",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["podmienku",
     FontColor->RGBColor[0, 0, 1]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[",",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["pr\[IAcute]kaz",
     FontColor->RGBColor[0.6, 0.4, 0.2]]}], 
   StyleBox["*)",
    FontColor->RGBColor[1, 0.5, 0]]}], 
  StyleBox["\[IndentingNewLine]",
   FontColor->RGBColor[1, 0.5, 0]], 
  StyleBox["\[IndentingNewLine]",
   FontColor->RGBColor[1, 0.5, 0]], 
  RowBox[{
   StyleBox["(*",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   RowBox[{
    StyleBox["Cyklus",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["WHILE",
     FontColor->RGBColor[1, 0, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0, 0]], 
    StyleBox["ktor\[YAcute]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["5",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["x",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["za",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["sebou",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["vyp\[IAcute]\[SHacek]e",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["slovo",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["Ahoj",
     FontColor->RGBColor[1, 0.5, 0]]}], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox["*)",
    FontColor->RGBColor[1, 0.5, 0]]}], "\n", 
  RowBox[{
   StyleBox[
    RowBox[{
     RowBox[{"premenna", " ", "=", " ", "1"}], ";"}],
    FontColor->RGBColor[1, 0, 1]], "\[IndentingNewLine]", 
   RowBox[{"While", "[", " ", 
    RowBox[{
     StyleBox[
      RowBox[{"premenna", "<=", "5"}],
      FontColor->RGBColor[0, 0, 1]], ",", 
     StyleBox[
      RowBox[{
       RowBox[{"Print", "[", 
        RowBox[{"premenna", ".", " ", "\"\< Ahoj\>\""}], "]"}], 
       RowBox[{"premenna", "++"}]}],
      FontColor->RGBColor[0.6, 0.4, 0.2]]}], "]"}]}]}]], "Input",
 CellChangeTimes->{{3.862064296614422*^9, 3.862064300397374*^9}, 
   3.8620643587984285`*^9, {3.862064391374322*^9, 3.8620644074453297`*^9}, {
   3.8620645090545564`*^9, 3.8620645995447164`*^9}},
 Background->GrayLevel[0.85],
 CellLabel->"In[15]:=",ExpressionUUID->"6e72784e-d547-4245-a70e-a00bb20ef078"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"1", ".", "\<\" Ahoj\"\>"}]], "Print",
 CellChangeTimes->{{3.8620645791387563`*^9, 3.8620646006742134`*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[15]:=",ExpressionUUID->"8603d1ba-4c56-4baf-87dd-36571faf09a9"],

Cell[BoxData[
 RowBox[{"2", ".", "\<\" Ahoj\"\>"}]], "Print",
 CellChangeTimes->{{3.8620645791387563`*^9, 3.8620646006792316`*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[15]:=",ExpressionUUID->"ebea8be4-f7d3-414c-b092-0675c408d0d7"],

Cell[BoxData[
 RowBox[{"3", ".", "\<\" Ahoj\"\>"}]], "Print",
 CellChangeTimes->{{3.8620645791387563`*^9, 3.8620646006852245`*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[15]:=",ExpressionUUID->"b413433e-e740-4a99-a7ef-e88aad5329e3"],

Cell[BoxData[
 RowBox[{"4", ".", "\<\" Ahoj\"\>"}]], "Print",
 CellChangeTimes->{{3.8620645791387563`*^9, 3.862064600688225*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[15]:=",ExpressionUUID->"a0de5689-2004-4fba-88a7-3534ddbdbb13"],

Cell[BoxData[
 RowBox[{"5", ".", "\<\" Ahoj\"\>"}]], "Print",
 CellChangeTimes->{{3.8620645791387563`*^9, 3.862064600691226*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->
  "During evaluation of \
In[15]:=",ExpressionUUID->"5a20306d-3266-4e38-bd98-649483dbf1b9"]
}, Open  ]]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  RowBox[{
   StyleBox["(*",
    FontColor->RGBColor[1, 0.5, 0]], 
   StyleBox[" ",
    FontColor->RGBColor[1, 0.5, 0]], 
   RowBox[{
    StyleBox["Cyklus",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["WHILE",
     FontColor->RGBColor[1, 0, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0, 0]], 
    StyleBox["ktor\[YAcute]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["vyp\[IAcute]\[SHacek]e",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["hodnotu",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["premennej",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["n",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["a\[ZHacek]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["ke\[DHacek]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["sa",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["nespln\[IAcute]",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox[" ",
     FontColor->RGBColor[1, 0.5, 0]], 
    StyleBox["podmienka",
     FontColor->RGBColor[1, 0.5, 0]]}], 
   StyleBox["*)",
    FontColor->RGBColor[1, 0.5, 0]]}], "\[IndentingNewLine]", 
  RowBox[{
   StyleBox[
    RowBox[{"n", "=", "1"}],
    FontColor->RGBColor[1, 0, 1]], ";", 
   RowBox[{"While", "[", 
    StyleBox[
     RowBox[{
      RowBox[{"++", "n"}], "<", "10"}],
     FontColor->RGBColor[0, 0, 1]], "]"}], ";", 
   StyleBox["n",
    FontColor->RGBColor[0.6, 0.4, 0.2]]}]}]], "Input",
 CellChangeTimes->{{3.8620646779764566`*^9, 3.8620647478702393`*^9}, {
  3.8621674991152277`*^9, 3.8621674998267307`*^9}},
 Background->GrayLevel[
  0.85],ExpressionUUID->"33244def-711c-49c0-9dc6-249ea7acaf80"],

Cell[BoxData["10"], "Output",
 CellChangeTimes->{{3.8620646791896553`*^9, 3.862064688317582*^9}},
 Background->RGBColor[1, 0.9, 0.8],
 CellLabel->"Out[19]=",ExpressionUUID->"d59f7b17-c9fe-4244-af17-0dcfef502fd4"]
}, Open  ]]
}, Open  ]]
},
WindowSize->{1440., 777.75},
WindowMargins->{{Automatic, 1434}, {-3, Automatic}},
FrontEndVersion->"13.0 for Microsoft Windows (64-bit) (February 4, 2022)",
StyleDefinitions->"Default.nb",
ExpressionUUID->"18cce3be-49fb-4896-9405-e65b0bd56e28"
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{}
*)
(*CellTagsIndex
CellTagsIndex->{}
*)
(*NotebookFileOutline
Notebook[{
Cell[CellGroupData[{
Cell[580, 22, 181, 2, 98, "Title",ExpressionUUID->"da107016-7676-4edc-b126-9b7249645db1"],
Cell[764, 26, 298, 5, 35, "Text",ExpressionUUID->"f7989c15-658f-4b00-a04b-d6a632c8fc0d"],
Cell[1065, 33, 271, 7, 28, "Input",ExpressionUUID->"53c192c9-110f-49b4-aacd-c5bd083cd64e"],
Cell[1339, 42, 482, 11, 48, "Input",ExpressionUUID->"ae4b1bce-e1bb-41aa-b018-6e86eb1b4129"],
Cell[1824, 55, 939, 33, 48, "Input",ExpressionUUID->"a6e31289-123c-4c8b-aa51-a01da7065a04"],
Cell[2766, 90, 327, 10, 10, "Text",ExpressionUUID->"42997759-9268-4a26-a203-65d74d01fa13"],
Cell[3096, 102, 221, 3, 35, "Text",ExpressionUUID->"3de22d3c-ed07-4c40-8758-714f2307f1fd"],
Cell[CellGroupData[{
Cell[3342, 109, 9132, 260, 178, "Input",ExpressionUUID->"e0118d0c-3b62-4bf6-abe6-bc8cb0275b0f"],
Cell[12477, 371, 935, 14, 48, "Output",ExpressionUUID->"148d79ca-61c6-463d-a250-84a5604e04f0"]
}, Open  ]],
Cell[CellGroupData[{
Cell[13449, 390, 7826, 258, 102, "Input",ExpressionUUID->"a9525b36-14f5-4451-b42c-bd61703af560"],
Cell[21278, 650, 257, 4, 48, "Output",ExpressionUUID->"877b63da-f7c0-4792-940a-610cb33495ac"]
}, Open  ]],
Cell[21550, 657, 327, 10, 10, "Text",ExpressionUUID->"2c9cebcd-5320-4a05-8118-227b4b21d160"],
Cell[21880, 669, 220, 3, 35, "Text",ExpressionUUID->"4d3b30db-b860-438e-9f34-c2e510962c73"],
Cell[CellGroupData[{
Cell[22125, 676, 5864, 178, 140, "Input",ExpressionUUID->"7d386815-282e-40cc-b7ad-85411cc30da1"],
Cell[CellGroupData[{
Cell[28014, 858, 244, 6, 38, "Print",ExpressionUUID->"926c92fe-83ed-46af-9918-9b53d858dc04"],
Cell[28261, 866, 246, 6, 38, "Print",ExpressionUUID->"39c30c39-6c38-47ef-a1bd-66f9cf9d0918"],
Cell[28510, 874, 246, 6, 38, "Print",ExpressionUUID->"cf9aa7ec-13cc-4bce-a76b-1107da353f61"],
Cell[28759, 882, 244, 6, 38, "Print",ExpressionUUID->"4394c434-09d7-4899-a6f0-c5324b1ab8db"],
Cell[29006, 890, 243, 6, 38, "Print",ExpressionUUID->"4700accc-fc60-4107-b098-42e1c24b37bd"]
}, Open  ]]
}, Open  ]],
Cell[CellGroupData[{
Cell[29298, 902, 2242, 73, 64, "Input",ExpressionUUID->"845f7a1d-3abc-43e4-94ef-9a4b930bb4d3"],
Cell[CellGroupData[{
Cell[31565, 979, 234, 5, 38, "Print",ExpressionUUID->"9610391b-5ecf-4420-baf3-150864af08b8"],
Cell[31802, 986, 236, 5, 38, "Print",ExpressionUUID->"b56a9192-3b63-48db-9ead-60e48c17674a"],
Cell[32041, 993, 236, 5, 38, "Print",ExpressionUUID->"f0cbbf64-2640-46c8-bd99-f6a55649e617"],
Cell[32280, 1000, 236, 5, 38, "Print",ExpressionUUID->"7023484f-4529-418d-adb2-e4934895e5c3"],
Cell[32519, 1007, 234, 5, 38, "Print",ExpressionUUID->"0fb59051-e6c9-46a8-a10d-23b17f244a43"],
Cell[32756, 1014, 236, 5, 38, "Print",ExpressionUUID->"3050771c-8055-4204-800d-5acd5e3328ef"]
}, Open  ]]
}, Open  ]],
Cell[CellGroupData[{
Cell[33041, 1025, 5773, 182, 121, "Input",ExpressionUUID->"6e72784e-d547-4245-a70e-a00bb20ef078"],
Cell[CellGroupData[{
Cell[38839, 1211, 272, 6, 38, "Print",ExpressionUUID->"8603d1ba-4c56-4baf-87dd-36571faf09a9"],
Cell[39114, 1219, 272, 6, 38, "Print",ExpressionUUID->"ebea8be4-f7d3-414c-b092-0675c408d0d7"],
Cell[39389, 1227, 272, 6, 38, "Print",ExpressionUUID->"b413433e-e740-4a99-a7ef-e88aad5329e3"],
Cell[39664, 1235, 270, 6, 38, "Print",ExpressionUUID->"a0de5689-2004-4fba-88a7-3534ddbdbb13"],
Cell[39937, 1243, 270, 6, 38, "Print",ExpressionUUID->"5a20306d-3266-4e38-bd98-649483dbf1b9"]
}, Open  ]]
}, Open  ]],
Cell[CellGroupData[{
Cell[40256, 1255, 2165, 70, 64, "Input",ExpressionUUID->"33244def-711c-49c0-9dc6-249ea7acaf80"],
Cell[42424, 1327, 212, 3, 48, "Output",ExpressionUUID->"d59f7b17-c9fe-4244-af17-0dcfef502fd4"]
}, Open  ]]
}, Open  ]]
}
]
*)

