Sunteți pe pagina 1din 1

{read n, (v(i)=1, n, 1), m, (w(j)=1, m, 1)

ok=1;
if m!=n then write “multimile nu sunt identice”
else
i=1,j=1;
while (i<=n si ok=1)
if(v(i)!=w(i))ok=0;
i++;
end while

end if

if ok=1 then write “multimile nu sunt identice


else write “multimile sunt identice”

S-ar putea să vă placă și