Help for a car rental application using C# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 Answers
+ 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