Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help with problem implementing Gauss type algorithm

807591Mar 13 2008 — edited Mar 13 2008
I'm working on a Project for my class and am writing the code for one of Methods in my EasterClass which is the programmer class. The program is supposed to compute the d I found the remainder method of in standard class library as the directions state I need to get the remainder of the divisions i have to do and assign them to variables. Now my question is, how do I get the quotient value to be a whole number? Like this example 7/5 gives you a quotient of 1 with remainder 2 how do I get just the quotient value without the remainder. It's probably something simple that I'm not getting .
Answers would be great as I just need this clarified to continue coding.

Troy
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 10 2008
Added on Mar 13 2008
3 comments
101 views