Réponse acceptée

Birdman
Birdman le 16 Jan 2018

0 votes

a=input('Enter a\n');
b=input('Enter b\n');
if ~mod(a,b)
y=0
else
y=b-mod(a,b)
end

Plus de réponses (0)

Catégories

En savoir plus sur Argument Definitions dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by