Σn=1 ∞ Πo=1 ∞ Σm=1 ∞ om n(x )k

1 visualizzazione (ultimi 30 giorni)
Seray vatansever
Seray vatansever il 1 Giu 2020
Commentato: Rik il 1 Giu 2020
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
  1 Commento
Rik
Rik il 1 Giu 2020
You forgot to ask an actual question. Have a read here and here. It will greatly improve your chances of getting an answer.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by