
February 26th, 2013, 12:40 PM
|
|
Registered User
|
|
Join Date: Feb 2013
Location: Ireland
Posts: 3
Time spent in forums: 12 m 53 sec
Reputation Power: 0
|
|
|
Java Arithmetic Help (Student)
Hi All,
Got a question on a self assessment for college on Java arithmetic. They gave me the question and answer.. However, I get a different answer to what they're getting so wanted to know if any of you guys can see where or if I'm going wrong... It's one of those distance learning courses so I technically don't have a tutor to help....
The Question is:
Result = d % a * c + a % b + a
a = 4
b = 12
c = 37
d = 51
The answer they gave me is 119. The answer I get is 109. HELP!!!
|