Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
my goal is to make the biggest common partition but says syntax error >>> if(y==0)
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
a=int(input("1.tam sayi: "));
b=int(input("2.tam sayi: "));
fprintf(" \nEBOB(%d,%d)=%d\n" ,a,b,ebob(a,b);
function [S]=ebob(x,y)
if (y==0)
S=x;
else
S=ebob(y,mod(x,y));
end
end
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!