### Teorija

Svarīgi!
 $\phantom{\rule{0.147em}{0ex}}\mathbf{read}\left(\mathit{mainīgie}\right);$
un
 $\phantom{\rule{0.147em}{0ex}}\mathbf{readln}\left(\mathit{mainīgie}\right);$

Vienā reizē var prasīt ievadīt vairākus mainīgos, to nosaukumus atdalot ar komatiem. Programma uzskatīs, ka viena mainīgā ievade ir pabeigta, ja tiks nospiests taustiņš Enter, un pēc šīs ievades programma pārvietos kursoru jaunā rindā.
Ja ievadītā informācija neatbildīs attiecīgā mainīgā datu tipam, tad programma beigs darbu un paziņos par kļūdu.

 $\begin{array}{l}\phantom{\rule{0.147em}{0ex}}\mathbf{var}\phantom{\rule{0.147em}{0ex}}a,b,c:\phantom{\rule{0.147em}{0ex}}\mathbf{integer};\\ \phantom{\rule{0.147em}{0ex}}\mathbf{begin}\\ \phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}a:=0;\phantom{\rule{0.147em}{0ex}}b:=0;\phantom{\rule{0.147em}{0ex}}c:=0;\\ \phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\mathbf{read}\left(a,b,c\right);\\ \phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\left\{\phantom{\rule{0.147em}{0ex}}\mathrm{Visadas}\phantom{\rule{0.147em}{0ex}}\mathrm{citadas}\phantom{\rule{0.147em}{0ex}}\mathrm{darbibas}\phantom{\rule{0.147em}{0ex}}\right\}\\ \phantom{\rule{0.147em}{0ex}}\mathbf{end};\end{array}$
 $\begin{array}{l}\phantom{\rule{0.147em}{0ex}}\mathbf{var}\phantom{\rule{0.147em}{0ex}}\mathrm{LietotajaVards}:\phantom{\rule{0.147em}{0ex}}\mathbf{string};\\ \phantom{\rule{0.147em}{0ex}}\mathbf{begin}\\ \phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\mathbf{writeln}\left(\text{'}\mathrm{Ievadi}\phantom{\rule{0.147em}{0ex}}\mathrm{savu}\phantom{\rule{0.147em}{0ex}}\mathrm{vardu}!\text{'}\right);\\ \phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\mathbf{readln}\left(\mathrm{LietotajaVards}\right);\\ \phantom{\rule{0.147em}{0ex}}\mathbf{end}.\end{array}$