Answer the question
In order to leave comments, you need to log in
How to fix or redo a program in matlab?
Determine if it is true that when a non-negative number a is divided by a
positive integer b, the remainder is equal to one of the two
given numbers c or d.
Here's what I got, but they said it was wrong, you need to define the remainder in some other way.
a=25;
b=5;
c=5;
d=3;
if a/b==c || a/b==d
disp ('верно');
else
disp ('неверно');
end
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question