Sprotne naloge 9
Zahteve zaključka
Rok za oddajo: ponedeljek, 30. december 2024, 23.56
1. Napišite program s programsko zanko, ki ima še eno vgnezdeno zanko. Notranja vgnezdena zanka naj se izvrši 48000-krat in v njej naj se 32-bitna vrednost v r1 vsakič poveča za 1. Zunanja zanka naj se izvede toliko krat, da bo vrednost v r1 na koncu programa enaka 24 000 000, če smo jo na začetku programa nastavili na 0.
---------------------------------------------------------------------------------------------
1. Write a program with an external loop that includes another inner (nested) loop. The internal nested loop should be executed 48 000 times and every time the 32-bit value in r1 should be incremented by 1. The external loop should be repeated so many times that the value at r1 at the end of the program (both loops) is equal to 24 000 000, if initial value was set to 0.
---------------------------------------------------------------------------------------------
1. Write a program with an external loop that includes another inner (nested) loop. The internal nested loop should be executed 48 000 times and every time the 32-bit value in r1 should be incremented by 1. The external loop should be repeated so many times that the value at r1 at the end of the program (both loops) is equal to 24 000 000, if initial value was set to 0.