08-04-2011، 10:37 PM
سورس محاسبه ب.م.م
کد:
uses wincrt;
var
m,n,r,temp : integer;
begin
writeln('Enter two Number');
readln(m,n);
if m<n then
begin
temp:=n;
n:= m;
m:=temp;
end;
while m mod n <> 0 do
begin
r:=m mod n;
m:=n;
n:=r;
end;
writeln('B.M.M Of two number is : ',n);
end.
گروه دور همی پارسی کدرز
https://t.me/joinchat/GxVRww3ykLynHFsdCvb7eg
https://t.me/joinchat/GxVRww3ykLynHFsdCvb7eg