Thread
:
Displaying the remainder
View Single Post
#
2
(
permalink
)
October 2nd, 2008, 01:10 PM
Old Pedant
Friend of Wrox
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
This is homework for some class, right?
So we shouldn't do homework for you or you'll never learn.
But I will give you two hints:
(1) Look at the % operator.
(2) Though you really don't need it. Just think about how INTEGER arithmetic works.
Old Pedant
View Public Profile
Find all posts by Old Pedant