- 1

Code project 11

How do you even get started with this project? It recommends using % modulus

27th Sep 2021, 11:14 PM
Zay Vaz
Zay Vaz - avatar
2 Answers
0
% modulo operator returns the remainder of division. E.x. 126%50 = 26, as 50*2+26=126 So your answer should be: 50-(126%50) (as you want to find out number of free seats)
27th Sep 2021, 11:23 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar