315 people have to be transported using buses that have 37 seats. By typing
one line (command) in the Command Window, calculate how many seats will
remain empty if enough buses will be ordered to transport all the people.
(Hint: use MATLAB built-in function ceil.)
>> ceil(315/37)*37 - 315
ans =
18
>>
Comments
Leave a comment