Uzdevums:

1p.
 $\begin{array}{l}\phantom{\rule{0.147em}{0ex}}\mathbf{var}\phantom{\rule{0.147em}{0ex}}a,b:\phantom{\rule{0.147em}{0ex}}\mathbf{integer};\\ \phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\mathrm{Rezultats}:\phantom{\rule{0.147em}{0ex}}\mathbf{integer};\\ \phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\mathrm{Vards}:\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{readln}\left(a,b\right);\\ \phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\mathrm{Rezultats}:=a\phantom{\rule{0.147em}{0ex}}\mathbf{div}\phantom{\rule{0.147em}{0ex}}b;\\ \phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\mathrm{Vards}:=\text{'}a\phantom{\rule{0.147em}{0ex}}div\phantom{\rule{0.147em}{0ex}}b\phantom{\rule{0.147em}{0ex}}=\phantom{\rule{0.147em}{0ex}}\text{'};\\ \phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\phantom{\rule{0.147em}{0ex}}\mathbf{writeln}\left(\mathrm{Vards},\mathrm{Rezultats}\right);\\ \phantom{\rule{0.147em}{0ex}}\mathbf{end}.\end{array}$

Lietotājs ievadīja, ka mainīgā a vērtība ir 2 un mainīgā b vērtība ir 4.
Uzraksti izvadīto tekstu!
Lai iesniegtu atbildi un redzētu rezultātus, Tev nepieciešams autorizēties. Lūdzu, ielogojies savā profilā vai reģistrējies portālā!