Python | C |
---|---|
$\begin{aligned} & \mathrm{p} = 417869 \\ & \mathrm{k} = 1 \\ & \mathrm{n} = 3 \\ & \text{for j in range(n):} \\ & \qquad \begin{aligned} \mathrm{z} & = \mathrm{p} \% 10 // 4 \\ \mathrm{p} & = \mathrm{p} // 10 \\ \mathrm{k} & = \mathrm{k} * \mathrm{z} \end{aligned} \\ & \text{print(k)} \end{aligned}$ | $\begin{aligned} & \text{int p, k, n, j, z;} \\ & \mathrm{p} = 417869; \\ & \mathrm{k} = 1; \\ & \mathrm{n} = 3; \\ & \text{for (j=0; j |
Isprobaj potpuno besplatno!
Registracijom dobivaš besplatan*
pristup dijelu lekcija za svaki predmet.