Java Modulus Tutorial #61
63.9K views on YouTube
$1,500 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE1500. See if you qualify for the JOB GUARANTEE! 👉 https://bit.ly/3HX970h
Modulus is the remainder of division. Here are a few examples using modulus in java:
4/2 = 2 r 0
4%2 = 0
5/2 = 2 r 1
5%2 = 1
15/6 = 2 r 3
15%6 = 3
I hope this helps you make with modulus 🙂 This is GREAT practice for modulus operator in java!
I hope you enjoyed this java modulus tutorial!
Full Java Tutorial For Beginners Playlist: https://youtube.com/playlist?list=PL59LTecnGM1NRUyune3SxzZlYpZezK-oQ&si=6OSbyiJxFsTjqL_9
Free Tips: https://bit.ly/3U6HXcb
Disclosure: Springboard link provided is linked to my affiliate account & supports the channel.
Alex Lee