Σn=1 ∞ Πo=1 ∞ Σm=1 ∞ om n(x )k
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
help!!
clc; clear all ;
a=input("1.tamsayi: "); b=input("2.tamsayi ");
for i=1:a*b
if((mod(i,a)==0)&&(mod(i,b)==0))
fprintf("/nOkek(%d,%d)=%d/n",a,b,i);
break
end
c=max([a b]);
for i =c:-1:1
if ((mod(a,i)==0 && (mod(b,i)==0)))
fprintf('OBEB(&d,%d)=%d/n',a,b,i);
break
end
end
end
Risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!