A. $\begin{aligned} & \mathrm{s} = 1 \\ & \text { za i = 1 do 10 činiti:} \\ & \qquad \begin{aligned} \text { ulaz(x)} \\ \mathrm{s} = \mathrm{s} + \mathrm{x} \end{aligned} \\ & \text { izlaz(s)} \end{aligned}$
B. $\begin{aligned} & \mathrm{s} = 0 \\ & \text { za i = 0 do 10 činiti:} \\ & \qquad \begin{aligned} \text { ulaz(x)} \\ \mathrm{s} = \mathrm{s} + \mathrm{x} \end{aligned} \\ & \text { izlaz(s)} \end{aligned}$
C. $\begin{aligned} & \mathrm{s} = 0 \\ & \text { za i = 1 do 10 činiti:} \\ & \qquad \begin{aligned} \text { ulaz(x)} \\ \mathrm{s} = \mathrm{s} + \mathrm{x} \end{aligned} \\ & \text { izlaz(s)} \end{aligned}$
D. $\begin{aligned} & \mathrm{s} = 1 \\ & \text { za i = 0 do 10 činiti:} \\ & \qquad \begin{aligned} \text { ulaz(x)} \\ \mathrm{s} = \mathrm{s} + \mathrm{i} \end{aligned} \\ & \text { izlaz(s)} \end{aligned}$
Isprobaj potpuno besplatno!
Registracijom dobivaš besplatan*pristup dijelu lekcija za svaki predmet.