Ask your own question, for FREE!
Computer Science 20 Online
OpenStudy (anonymous):

Really important question guys: HOW DO YOU SOLVE A INTEGER DIVISION PROBLEM IN COMPUTER PROGRAMMING?

OpenStudy (rsmith6559):

It depends on what language you're using. C, C++ and Java have integer data types, so division will be integer division. In Python, you can force integer division by using the "//" operator instead of the "/" operator.

OpenStudy (e.mccormick):

A lot of the time it cones down to doing multiple operations. One to deal with the basic division and one to deal with the remainder.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!