Quantcast
Channel: Programmers Heaven Forums RSS Feed
Viewing all articles
Browse latest Browse all 2703

Loop result

$
0
0
Hi everyone,

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

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


Viewing all articles
Browse latest Browse all 2703

Trending Articles