Thread: Integer Usage
View Single Post
  #10 (permalink)  
Old 01-23-2008, 07:49 AM
CaptainMorgan's Avatar
CaptainMorgan CaptainMorgan is offline
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 838
Rep Power: 4
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Default
Originally Posted by sandeeprao.techno View Post
...

You can also use

System.out.println((a + b + c + d + e) / 5.0);
doh!.....
__________________
Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? Vote now!
Got a little Capt'n in you? (drink responsibly)
Reply With Quote