Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: How Do I Obtain a Grand Total From My Loop

  1. #1
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    22,265
    Thanks
    56
    Thanked 2,372 Times in 2,343 Posts

    Default Re: How Do I Obtain a Grand Total From My Loop

    my total results are taking the data that I entered from the last customer
    What variables does the program accumulate the totals in for the gold and silver?
    Each customer's amounts need to be added to variables that will hold the total.
    If you don't understand my answer, don't ignore it, ask a question.

  2. The Following User Says Thank You to Norm For This Useful Post:

    sternfox (February 4th, 2013)


Similar Threads

  1. Obtain string from certain index in a string array
    By MartialLaw in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 16th, 2013, 08:55 PM
  2. how to obtain the combination of ip in String??
    By sxlend in forum Java Networking
    Replies: 2
    Last Post: July 15th, 2012, 02:03 PM
  3. Error using a structure to obtain information of an specific array
    By andresfelquintero in forum What's Wrong With My Code?
    Replies: 4
    Last Post: May 11th, 2011, 07:51 PM
  4. Replies: 1
    Last Post: February 4th, 2010, 04:23 PM