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.)

Respuesta :

Answer:

18

Step-by-step explanation:

seats left = 37*ceil(315/37)-315

<=> seats left = 18

So, to fit 315  people into buses with 37 seats, the number of buses are celi(315/37) and the number of seats left is 37*celi(315.37) -315