Alex MG

Greenhorn
+ Follow
since Jan 23, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Alex MG

Hi,

I'm new in Java and to learn I'm typing and testing code. I have the following code:



What I want to do is to display the sum of the numbers after dividing them. The problem is the result of r and res variables that always is 0 and I don't know why.

What's wrong?

Thanks.
[ January 23, 2005: Message edited by: Ilja Preuss ]
19 years ago