This is a simple case of rounding. The float f is 10.501, and when we cast it to an integer, it should round up to 11. Option B is the correct answer, no doubt about it.
Haha, the question mark is just there to confuse us. It's a classic trick question! I'm going to go with option D, because who doesn't love a bit of chaos in their code?
Wilburn
8 months agoArthur
8 months agoDominga
8 months agoLottie
8 months agoHaley
9 months agoLigia
9 months agoMaryann
9 months agoHoward
9 months agoZena
9 months agoRoselle
9 months agoGerman
9 months agoDaisy
9 months agoTijuana
9 months agoJennifer
1 year agoEmilio
1 year agoCyndy
1 year agoEmily
1 year agoHelaine
1 year agoLouisa
1 year agoSherell
1 year agoRhea
1 year agoCandra
1 year agoMarva
1 year agoShawna
1 year agoHarris
1 year agoShawna
1 year ago