Code project 11 | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 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 Réponses
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