Informatika - 2021./22. ljeto - 11.

11. Što će ispisati zadani dio programa?
Python
C
$\begin{aligned} & \mathrm{a} = 3124 \\ & \mathrm{b} = 1025 \\ & \mathrm{c} = \mathrm{a} \% 100 \\ & \mathrm{d} = \mathrm{b} // 100 \\ & \mathrm{e} = \mathrm{c} - \mathrm{d} \\ & \text{print(e)} \end{aligned}$
$\begin{aligned} & \text{int a, b, c, d, e;} \\ & \mathrm{a} = 3124; \\ & \mathrm{b} = 1025; \\ & \mathrm{c} = \mathrm{a} \% 100; \\ & \mathrm{d} = \mathrm{b} / 100; \\ & \mathrm{e} = \mathrm{c} - \mathrm{d}; \\ & \text{printf("\%d", e);} \end{aligned}$
Online pripreme za maturu i instrukcije za srednju školu. Dostupno 24/7.
© 2025, Gradivo.hr