Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Loop result

Hi everyone,

Can you tell me please what will happen if n = 6, is it an infinie loop ? thank you in advance.

[code]Procedure myProc(int n)
int i
begin
i <- n
while i > 0 do
If (i mod 2) = 0 the
crate a process identical to me (Clonage)
endIf
i <- i - 1
endWhile
End[/code]

Comments

Sign In or Register to comment.