Help for a car rental application using C# | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Help for a car rental application using C#

Hi guys, i'm doing an application for car rental and I need to display the number of service for every 100KM how can I do this? Using foreach? Thank you.

24th May 2017, 9:30 AM
Hans
2 Réponses
+ 2
if (kilometers % 100 == 0) display_service_number();
24th May 2017, 10:31 AM
Jeth
Jeth - avatar
0
Ok Thank you I will try that
24th May 2017, 10:58 AM
Hans