What is the value of a?
a = 17.0 // 3.0
Explanation
// operator returns a floor of division. Since 17.0 / 3.0 = 5.6666666, the floor is 5.

Fixed! @klichukb49, thanks a lot!

2016 Oct 26, 10:44:57 PM

What? In my browser [Chrome] I see a big space between two slashes, yelling about a SyntaxError, not integral division operator...

2016 Oct 24, 5:41:35 PM

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes