anyone here?

topic posted Mon, September 13, 2004 - 11:05 PM by  J
I'm just starting to write code in java.

Quick question. How do you print several integer variables on one line of output?
Ex: num1=17, num2=23, num3=44, total=num1+2+3.

Desired output:
17 23 44 84


From the looks of this tribe, I'll be surprised if I get a reply. No activity since Jan?
posted by:
J
offline J
Kansas City

Recent topics in "itzone"

Topic Author Replies Last Post
interested in java programming Matthew 0 January 20, 2004
Introduction Frank 0 December 29, 2003
Introduction Frank 0 December 29, 2003